File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 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 )
7980git 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
8490git fetch --all && git reset --hard origin/master
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments