From f9ec0251aa89a88dcba1045f710fce8c679a4b5c Mon Sep 17 00:00:00 2001 From: Sina Siadat Date: Fri, 24 Feb 2017 14:19:12 +0330 Subject: [PATCH] Fetch origin, not --all --- README.md | 2 +- tips.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b3be0f2..3afcc9f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/tips.json b/tips.json index a48a076..0f7c9e4 100644 --- a/tips.json +++ b/tips.json @@ -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 "