cd /path/to/your/git/repo/ git remote -v git remote rm origin git remote add origin ssh://[email protected]:8266/git/new/repo scp -p -P 8266 [email protected]:hooks/commit-msg .git/hooks/ git push -u origin --all git push -u origin --tags
将已有Git库代码推送到新建库中
猜你喜欢
转载自www.cnblogs.com/drizzlewithwind/p/8953397.html
今日推荐
周排行