How to change the remote in terminal:: if i have github remote and i want to change the remote then

 first i will run the command 

git remote -v

this will give the status of the remote is add at my computer 


second i will run the command 

git remote add origin1 or origin2 before the repositiorty add 

because git remote add origin will add the old git origin through which we have taken the pull 


Comments

Popular posts from this blog

Rails 7 Features :: Comparison with Rails 6 and Rails 5