Skip to content

Commit 293f415

Browse files
authored
Update git-command.txt
1 parent 9428da8 commit 293f415

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

git-command.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,14 @@ git tag:查看标签
4949
git show tagname:可以看到标签信息与对应的提交信息
5050

5151
git config --global alias.co checkout:为checkout命令设置一个别名
52+
53+
ssh-keygen -t rsa:生成ssh密钥
54+
55+
git difftool [filename]:查看改动
56+
57+
git log
58+
git reset --hard [commit-version]:退回之前的版本
59+
60+
61+
62+

0 commit comments

Comments
 (0)