Skip to content

Commit edb79a3

Browse files
authored
Removing git fetch --all (#2083)
## Changes - Original change: ```git fetch --all``` fetches all remotes. The cheat sheet stated that it's fetching all branches. - Updated change: Remove the entry altogether since it's rarely used and therefore might not be well placed in a cheat sheet. ## Context A colleague of mine pointed out, that ```git fetch --all``` doesn't fetch all branches but all remotes. ```git fetch --help``` confirms that. After discussing in the PR I now suggest to remove it with an updated change.
2 parents 93110f7 + 3407864 commit edb79a3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

content/cheat-sheet/_index.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -735,10 +735,6 @@ <h3>Fetch changes and then merge them into your current branch:</h3>
735735
<span class="or">OR</span>
736736
<code>git pull</code>
737737
</div>
738-
<div class="item">
739-
<h3>Fetch all branches:</h3>
740-
<code>git fetch --all</code>
741-
</div>
742738
</section>
743739

744740
<section>

0 commit comments

Comments
 (0)