✏️ 添加 git 命令
This commit is contained in:
parent
569c09da76
commit
07b1bbec21
5
git.md
5
git.md
@ -40,6 +40,7 @@ alias gpull='git pull'
|
||||
alias gpush='git push'
|
||||
alias ga='git add -A'
|
||||
alias gc='git commit -m'
|
||||
alias gam='git commit -am'
|
||||
alias gcheckout='git checkout'
|
||||
alias glt='git describe --tags' #最新的 tag 名称,提交次数
|
||||
```
|
||||
@ -59,6 +60,10 @@ git add -A #添加所有文件到版本库
|
||||
|
||||
git commit -m '注释' #提交
|
||||
|
||||
git commit -am '提交信息' #添加并提交信息
|
||||
|
||||
git commit --amend #修改最近一次的 commit 信息
|
||||
|
||||
git blame filename #查看文件修改记录
|
||||
|
||||
git push #推送到仓库
|
||||
|
Loading…
x
Reference in New Issue
Block a user