I have cloned a repo into my local folders and now I wanted to change my git repository to some other url. I have already changed it using
git remote set-url origin git://new.url.here
and when I am doing
git remote -v
it shows me the correct repository in which I want to work.But when I do
git branch --all
it shows me the old branches in the old repository. I am wondering why?? As my new repo doesn't have any branches yet.