Fixed a mistake in the commands
This commit is contained in:
		
							parent
							
								
									607672cd65
								
							
						
					
					
						commit
						fed1ce4550
					
				| 
						 | 
					@ -220,11 +220,11 @@ in case you want to apply a specific Stash item (not the most recent one), you c
 | 
				
			||||||
 | 
					
 | 
				
			||||||
>git commit --amend -m "New commit message"
 | 
					>git commit --amend -m "New commit message"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
replace the message of the last commit without altering the snapshot
 | 
					replace the last commit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
>git commit --amend --no-edit
 | 
					>git commit --amend --no-edit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
replace the latest commit with a commit that includes recents git add
 | 
					replace the last commit without changing the commit message
 | 
				
			||||||
 | 
					
 | 
				
			||||||
>git rebase -i {branch}
 | 
					>git rebase -i {branch}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue