@matheusbsbs / matheus-bagliano / commits / 6e2e1cfb81
Fork 0

Why is it bad to rewind a branch that has already been pushed out?

Mention git-revert as an alternative to git-reset to revert changes. Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com> Signed-off-by: Junio C Hamano <junkio@cox.net>

Robin Rosenberg committed Feb 4, 2007 at 17:16 UTC 6e2e1cfb81a6a6de9fc074bd26bed8a45f73251f
1 file changed +2
Documentation/tutorial.txt
+2
@@ -461,6 +461,8 @@ this branch. If this branch is the only branch containing those
461 commits, they will be lost. Also, don't use "git reset" on a
462 publicly-visible branch that other developers pull from, as it will
463 force needless merges on other developers to clean up the history.
464 +If you need to undo changes that you have pushed, use gitlink:git-revert[1]
465 +instead.
466
467 The git grep command can search for strings in any version of your
468 project, so