File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 25
25
* [ What changed since two weeks?] ( https://github.com/git-tips/tips#what-changed-since-two-weeks )
26
26
* [ Pick commits across branches using cherry-pick] ( https://github.com/git-tips/tips#pick-commits-across-branches-using-cherry-pick )
27
27
* [ Find out branches containing commit-hash] ( https://github.com/git-tips/tips#find-out-branches-containing-commit-hash )
28
+ * [ Git Aliases] ( https://github.com/git-tips/tips#git-aliases )
28
29
29
30
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
30
31
<!-- @doxie.inject end toc -->
@@ -154,5 +155,11 @@ __Alternatives:__
154
155
git branch --contains < commit-ish>
155
156
```
156
157
158
+ ## Git Aliases
159
+ ``` sh
160
+ git config --global alias.< handle> < command>
161
+ git config --global alias.st status
162
+ ```
163
+
157
164
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
158
165
<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 88
88
"title" : " Find out branches containing commit-hash" ,
89
89
"tip" : " git branch -a --contains <commit-ish>" ,
90
90
"alternatives" : [" git branch --contains <commit-ish>" ]
91
+ },
92
+ {
93
+ "title" : " Git Aliases" ,
94
+ "tip" : " git config --global alias.<handle> <command> \n git config --global alias.st status"
91
95
}
92
96
]
You can’t perform that action at this time.
0 commit comments