1. cd /path/to/my/repo
2. git remote set-url origin https://happy@bitbucket.org/happy/happy.git
3. git push -u origin –all # pushes up the repo and its refs for the first time
4. git push -u origin –tags # pushes up any tags
Update local repository finish now.
Reference :
1. Changing a remote’s URL
0 意見:
張貼留言