We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa66c43 commit 3e9243aCopy full SHA for 3e9243a
Git/git_scenario.md
@@ -0,0 +1,11 @@
1
+#### Scenario 1
2
+committed a bunch of files and realised that the commit message you entered is actually not clear
3
+>git commit --amend -m “New commit message”
4
+
5
+#### Scenario 2
6
+Let’s say that you wanted to commit six files but, by mistake, you end up committing only five files.
7
+<code>
8
+* git add file6
9
+* git commit --amend --no-edit
10
+* --no-edit means that the commit message does not change.
11
+</code>
0 commit comments