Skip to content

Commit eea471c

Browse files
authored
Merge pull request git-tips#140 from siadat/fetch-origin-only
Fetch origin, not --all
2 parents dba3545 + b659726 commit eea471c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ git help -g
179179

180180
## Overwrite pull
181181
```sh
182-
git fetch --all && git reset --hard origin/master
182+
git fetch origin && git reset --hard origin/master
183183
```
184184

185185
## List of all files till a commit

0 commit comments

Comments
 (0)