File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
148148* [ Add everything, but whitespace changes] ( #add-everything-but-whitespace-changes )
149149* [ Edit [ local/global] git config] ( #edit-localglobal-git-config )
150150* [ blame on certain range] ( #blame-on-certain-range )
151+ * [ Show a Git logical variable.] ( #show-a-git-logical-variable )
151152
152153<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
153154<!-- @doxie.inject end toc -->
@@ -336,7 +337,7 @@ git add -p
336337
337338## Get git bash completion
338339``` sh
339- curl -L http://git.io/vfhol > ~ /.git-completion.bash && echo ' [ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~ /.bashrc
340+ curl http://git.io/vfhol > ~ /.git-completion.bash && echo ' [ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~ /.bashrc
340341```
341342
342343## What changed since two weeks?
@@ -1014,5 +1015,10 @@ git config [--global] --edit
10141015git blame -L < start> ,< end>
10151016```
10161017
1018+ ## Show a Git logical variable.
1019+ ``` sh
1020+ git var -l | < variable>
1021+ ```
1022+
10171023<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
10181024<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 434434}, {
435435 "title" : " blame on certain range" ,
436436 "tip" : " git blame -L <start>,<end>"
437+ }, {
438+ "title" : " Show a Git logical variable." ,
439+ "tip" :" git var -l | <variable>"
437440}]
You can’t perform that action at this time.
0 commit comments