I have one git repository and now I have to switch the repo code to deploy to other repository and to change the remote URL I have used below command.
git remote set-url origin new.git.url/here
Now I can see the remote URL is got changed. But when I do
git branch
it still shows me the same number of branches and the same code. But the repo is totally new it has only one master
branch.
So my question is can I refresh the folder/git repository?