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