File tree 2 files changed +10
-1
lines changed
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)`.
148
148
* [ Add everything, but whitespace changes] ( #add-everything-but-whitespace-changes )
149
149
* [ Edit [ local/global] git config] ( #edit-localglobal-git-config )
150
150
* [ blame on certain range] ( #blame-on-certain-range )
151
+ * [ Show a Git logical variable.] ( #show-a-git-logical-variable )
151
152
152
153
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
153
154
<!-- @doxie.inject end toc -->
@@ -336,7 +337,7 @@ git add -p
336
337
337
338
## Get git bash completion
338
339
``` 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
340
341
```
341
342
342
343
## What changed since two weeks?
@@ -1014,5 +1015,10 @@ git config [--global] --edit
1014
1015
git blame -L < start> ,< end>
1015
1016
```
1016
1017
1018
+ ## Show a Git logical variable.
1019
+ ``` sh
1020
+ git var -l | < variable>
1021
+ ```
1022
+
1017
1023
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
1018
1024
<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 434
434
}, {
435
435
"title" : " blame on certain range" ,
436
436
"tip" : " git blame -L <start>,<end>"
437
+ }, {
438
+ "title" : " Show a Git logical variable." ,
439
+ "tip" :" git var -l | <variable>"
437
440
}]
You can’t perform that action at this time.
0 commit comments