随笔分类 - Git
摘要:方法有三种:1.修改命令git remote set-url origin [url] 例如:git remote set-url origin gitlab@gitlab.chumob.com:php/hasoffer.git 2.先删后加 git remote rm origingit remo
阅读全文
摘要:简单粗暴.... git push -u origin master -f
阅读全文
摘要:.Checkout git checkout --orphan latest_branch 2. Add all the files git add -A 3. Commit the changes git commit -am "commit message" 4. Delete the bran
阅读全文