Wednesday, December 27, 2023

How to add git remote origin ?

 Add  git remote origin 


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

PS C:\git-lab\demo1> 

PS C:\git-lab\demo1>

PS C:\git-lab\demo1> git remote add origin https://github.com/anuragkumarjoy/terraform-code.git

PS C:\git-lab\demo1> 

PS C:\git-lab\demo1>

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>

No comments:

Post a Comment