關於git的一些命令行常常忘記,仍是本身作個小小的筆記。git
On GitHub,com, create repository命令行
clone git repositorycode
git clone URL cd REPOSITORY-NAME git status
Optional: create local branchesrem
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)it
git status git add FILE_NAME git status git commit
push to remoteio
git push -u origin BRANCH-NAME
Option: Merge Pull Requestmake