mirror of https://github.com/namibia/tips.git
Get the repo name.
This commit is contained in:
parent
5d23b75504
commit
e88ee1e1c9
|
@ -150,6 +150,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
|
|||
* [blame on certain range](#blame-on-certain-range)
|
||||
* [Show a Git logical variable.](#show-a-git-logical-variable)
|
||||
* [Preformatted patch file.](#preformatted-patch-file)
|
||||
* [Get the repo name.](#get-the-repo-name)
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end toc -->
|
||||
|
@ -1026,5 +1027,10 @@ git var -l | <variable>
|
|||
git format-patch -M upstream..topic
|
||||
```
|
||||
|
||||
## Get the repo name.
|
||||
```sh
|
||||
git rev-parse --show-toplevel
|
||||
```
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end -->
|
||||
|
|
Loading…
Reference in New Issue