关于git的一些命令行经常忘记,还是自己做个小小的笔记。
On GitHub,com, create repository
clone git repository
git clone URL cd REPOSITORY-NAME git status
Optional: create local branches
git branch BRANCH-NAME git status git checkout BRANCH-NAME git status
make local change and commit(when finish type comment, press ESC, type :wq)
git status git add FILE_NAME git status git commit
push to remote
git push -u origin BRANCH-NAME
Option: Merge Pull Request