Merge pull request #140 from siadat/fetch-origin-only

Fetch origin, not --all
This commit is contained in:
hemanth.hm 2017-02-24 16:21:56 +05:30 committed by GitHub
commit b748f5f4cb
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ git help -g
## Overwrite pull
```sh
git fetch --all && git reset --hard origin/master
git fetch origin && git reset --hard origin/master
```
## List of all files till a commit

View File

@ -6,7 +6,7 @@
"tip": "git help -g"
}, {
"title": "Overwrite pull",
"tip": "git fetch --all && git reset --hard origin/master"
"tip": "git fetch origin && git reset --hard origin/master"
}, {
"title": "List of all files till a commit",
"tip": "git ls-tree --name-only -r <commit-ish>"