mirror of
https://github.com/namibia/tips.git
synced 2025-04-02 03:51:52 +00:00
Merge pull request #41 from ejmr/show-git-guides
Show how to read guides that come with Git
This commit is contained in:
commit
8854ea08c3
@ -4,6 +4,7 @@
|
|||||||
<!-- @doxie.inject start toc -->
|
<!-- @doxie.inject start toc -->
|
||||||
<!-- Don’t remove or change the comment above – that can break automatic updates. -->
|
<!-- Don’t remove or change the comment above – that can break automatic updates. -->
|
||||||
* [Everyday Git in twenty commands or so](https://github.com/git-tips/tips#everyday-git-in-twenty-commands-or-so)
|
* [Everyday Git in twenty commands or so](https://github.com/git-tips/tips#everyday-git-in-twenty-commands-or-so)
|
||||||
|
* [Show helpful guides that come with Git](https://github.com/git-tips/tips#show-helpful-guides-that-come-with-git)
|
||||||
* [Overwrite pull](https://github.com/git-tips/tips#overwrite-pull)
|
* [Overwrite pull](https://github.com/git-tips/tips#overwrite-pull)
|
||||||
* [List of all files till a commit](https://github.com/git-tips/tips#list-of-all-files-till-a-commit)
|
* [List of all files till a commit](https://github.com/git-tips/tips#list-of-all-files-till-a-commit)
|
||||||
* [Git reset first commit](https://github.com/git-tips/tips#git-reset-first-commit)
|
* [Git reset first commit](https://github.com/git-tips/tips#git-reset-first-commit)
|
||||||
@ -79,6 +80,11 @@
|
|||||||
git help everyday
|
git help everyday
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Show helpful guides that come with Git
|
||||||
|
```sh
|
||||||
|
git help -g
|
||||||
|
```
|
||||||
|
|
||||||
## Overwrite pull
|
## Overwrite pull
|
||||||
```sh
|
```sh
|
||||||
git fetch --all && git reset --hard origin/master
|
git fetch --all && git reset --hard origin/master
|
||||||
|
@ -3,6 +3,10 @@
|
|||||||
"title": "Everyday Git in twenty commands or so",
|
"title": "Everyday Git in twenty commands or so",
|
||||||
"tip": "git help everyday"
|
"tip": "git help everyday"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"title": "Show helpful guides that come with Git",
|
||||||
|
"tip": "git help -g"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "Overwrite pull",
|
"title": "Overwrite pull",
|
||||||
"tip": "git fetch --all && git reset --hard origin/master"
|
"tip": "git fetch --all && git reset --hard origin/master"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user