Wednesday, December 27, 2023

How to remove remote origin in git ?

 Remove git remote origin



PS C:\git-lab\demo1> git remote -v

origin  https://github.com/anuragkumarjoy/terraform-code.git (fetch)

origin  https://github.com/anuragkumarjoy/terraform-code.git (push)

PS C:\git-lab\demo1>

PS C:\git-lab\demo1>


PS C:\git-lab\demo1> git remote remove origin

PS C:\git-lab\demo1> 

PS C:\git-lab\demo1>

PS C:\git-lab\demo1> git remote -v

PS C:\git-lab\demo1> 

PS C:\git-lab\demo1>


No comments:

Post a Comment

How to pull image in docker and run ? Hello-World image

use : https://hub.docker.com/_/hello-world anurag@Anurags-MacBook-Air ~ %   anurag@Anurags-MacBook-Air ~ %   anurag@Anurags-MacBook-Air ~ % ...