1长已、Mac配置git環(huán)境:
https://blog.csdn.net/shenlichuang/article/details/78987377
2购公、用的mac洲守,后來google下找到并參考了這個問題?https://stackoverflow.com/que...?下的第二條 300 多贊的那個答案片酝,?
重新設(shè)置了一下憑證固耘,用的命令是?
git remote set-url origin?https://yourusername@github.c...?
然后就可以push了
3葬毫、git commit 報(bào) "Changes not staged for commit:"
---git commit -am "modified Cheatsheet.html"
-a 表示 add
4镇辉、上傳代碼:
git commit -am ""
git push origin dev
在git里去merge代碼