几乎每个开发人员都在使用 Git,当然很可能是 GitHub。但大多数开发者大概有 99% 的时间只是使用这三个命令 -- Sam Corcos
本文导航
-经常使用的命令 …… 13%
-高级命令和最佳实践 …… 48%
作者: Sam Corcos
译者: firmianay
git add --all
git commit -am "<message>"
git push origin master
git init
git remote -v
git remote add origin <url>
git remote set-url origin <url>
git clone <url>
git branch
git branch <name>
git checkout <name>
git checkout -b <name>
git merge <branch>
git pull origin <branch>
git status
git diff --stat
git log
git checkout c3d88eaa1aa4e4d5f
git push -f origin master
git rebase -i HEAD~4
pick 130deo9 oldest commit message
pick 4209fei second oldest commit message
pick 4390gne third oldest commit message
pick bmo0dne newest commit message
pick 130deo9 oldest commit message
fixup 4209fei second oldest commit message
fixup 4390gne third oldest commit message
fixup bmo0dne newest commit message
git commit --amend
feat: add stripe checkout button to payments page
- add stripe checkout button
- write tests for checkout
欢迎光临 51学通信论坛2017新版 (http://bbs.51xuetongxin.com/) | Powered by Discuz! X3 |