We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e22429 commit 23d5a0fCopy full SHA for 23d5a0f
docs/.vitepress/config.ts
@@ -95,6 +95,7 @@ function sidebarOthers()
95
items: [
96
{text: "VitePress 初始化", link: "/others/vitepress/getting-started"},
97
{text: "获取 git 提交的所有文件", link: "/others/git/get-all-files-submitted-by-git"},
98
+ {text: "git 别名", link: "/others/git/bash-alias"},
99
]
100
}
101
];
docs/others/git/bash-alias.md
@@ -0,0 +1,25 @@
1
+# git别名
2
+
3
+## 清除暂存区变更
4
5
+```bash
6
+alias nah='git reset --hard;git clean -df'
7
+```
8
9
+## 查看工作区状态
10
11
12
+alias gst='git status'
13
14
15
+## 添加所有变更文件到暂存区
16
17
18
+alias gaa='git add --all'
19
20
21
+## 获取最新更新
22
23
24
+alias gl='git pull'
25
0 commit comments