Git Alias
今天唐大牛教了些git的命令。顺便把他的git别名也发给我了。啥叫别名,就是
1 | git br ==> git branch |
只需要在home目录下的.gitconfig文件中添加:
1 | [alias] |
以后就可以使用别名了。
Today, big tang teaches me some git commands. And he gives me his alias of git commands to me. What’s alias? That’s
1 | git br ==> git branch |
only write the following code in ~/.gitconfig
file.
1 | [alias] |
And now you can use alias of git commands. Try git br