设置
| |
版本控制
git difftool 1234 4321 file -y比较不同提交差异git commit --amend追加提交
log
| |
tag
| |
远程仓库
git remote -v查看远程仓库git remote add name url添加远程仓库git push name branch-u 设为默认push仓库
.gitignore
- #开始的行会被忽略
- 以/开头禁止递归匹配(子目录)
- 以/结尾表示目录
- !取反
ssh
| |
| |
git difftool 1234 4321 file -y 比较不同提交差异git commit --amend 追加提交 | |
| |
git remote -v 查看远程仓库git remote add name url 添加远程仓库git push name branch -u 设为默认push仓库 | |