Skip to content

Commit 8854ea0

Browse files
committed
Merge pull request #41 from ejmr/show-git-guides
Show how to read guides that come with Git
2 parents 35376fe + d80c4ed commit 8854ea0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<!-- @doxie.inject start toc -->
55
<!-- Don’t remove or change the comment above – that can break automatic updates. -->
66
* [Everyday Git in twenty commands or so](https://github.com/git-tips/tips#everyday-git-in-twenty-commands-or-so)
7+
* [Show helpful guides that come with Git](https://github.com/git-tips/tips#show-helpful-guides-that-come-with-git)
78
* [Overwrite pull](https://github.com/git-tips/tips#overwrite-pull)
89
* [List of all files till a commit](https://github.com/git-tips/tips#list-of-all-files-till-a-commit)
910
* [Git reset first commit](https://github.com/git-tips/tips#git-reset-first-commit)
@@ -79,6 +80,11 @@
7980
git help everyday
8081
```
8182

83+
## Show helpful guides that come with Git
84+
```sh
85+
git help -g
86+
```
87+
8288
## Overwrite pull
8389
```sh
8490
git fetch --all && git reset --hard origin/master

tips.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"title": "Everyday Git in twenty commands or so",
44
"tip": "git help everyday"
55
},
6+
{
7+
"title": "Show helpful guides that come with Git",
8+
"tip": "git help -g"
9+
},
610
{
711
"title": "Overwrite pull",
812
"tip": "git fetch --all && git reset --hard origin/master"

0 commit comments

Comments
 (0)