You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/02-git-basics/sections/undoing.asc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ Effectively, it's as if the previous commit never happened, and it won't show up
39
39
The obvious value to amending commits is to make minor improvements to your last commit, without cluttering your repository history with commit messages of the form, ``Oops, forgot to add a file'' or ``Darn, fixing a typo in last commit''.
40
40
====
41
41
42
-
[CAUTION]
42
+
[NOTE]
43
43
====
44
44
Only amend commits that are still local and have not been pushed somewhere.
45
45
Amending previously pushed commits, and force pushing the branch will cause problems for your collaborators.
0 commit comments