遇到的一些坑:
- 脚本权限问题
git update-index --chmod=+x build.sh
- 文件冲突,注意先后顺序
git merge test(Merge made by the 'ort' strategy.)
ssh-keygen
git@github.com: Permission denied (publickey).fatal: Could not read from remote repository.
1 | $ git checkout -b test |
1 | $ git add . |
关于git的常用操作
参考:
How to start open course
https://eryajf.github.io/HowToStartOpenSourceGit远程操作详解
http://www.ruanyifeng.com/blog/2014/06/git_remote.htmlzju-icicles
https://qsctech.github.io/zju-icicles/