Skip to content

Commit ae056b5

Browse files
committed
update: git undo and revert
1 parent 4236139 commit ae056b5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

_posts/2023-02-12-git-undo-and-revert.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,8 @@ git commit --amend -m "Commit message here"
6969

7070
#### Git Amend Files
7171

72-
- Adding files with '--amend' works the same way as above. Just add them to the staging environment before committing.
72+
- Adding files with '--amend' works the same way as above. Just add them to the staging environment before committing.
73+
74+
```terminal
75+
git commit --amend
76+
```

0 commit comments

Comments
 (0)