mirror of
https://github.com/namibia/tips.git
synced 2024-06-12 07:02:37 +00:00
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)
|
* [blame on certain range](#blame-on-certain-range)
|
||||||
* [Show a Git logical variable.](#show-a-git-logical-variable)
|
* [Show a Git logical variable.](#show-a-git-logical-variable)
|
||||||
* [Preformatted patch file.](#preformatted-patch-file)
|
* [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>. -->
|
<!-- 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 -->
|
<!-- @doxie.inject end toc -->
|
||||||
|
@ -1026,5 +1027,10 @@ git var -l | <variable>
|
||||||
git format-patch -M upstream..topic
|
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>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end -->
|
<!-- @doxie.inject end -->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user