aliases: Add git amend alias to amend commits automatically
This commit is contained in:
		@@ -128,6 +128,10 @@ function ga {
 | 
			
		||||
  git rebase --interactive --autosquash HEAD~$1
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# Git amend
 | 
			
		||||
alias amend_pro="GIT_EDITOR=true git rebase --rebase-merges --exec 'git commit --amend --author=\"Robin-Charles GUIHENEUF <rguiheneuf@netatmo.com>\"' $1"
 | 
			
		||||
alias amend_perso="GIT_EDITOR=true git rebase --rebase-merges --exec 'git commit --amend --author=\"Robin-Charles Guihéneuf <robin-charles@hotmail.fr>\"' $1"
 | 
			
		||||
 | 
			
		||||
# Repositories
 | 
			
		||||
alias bc='cd $HOME/Netatmo/embedded/firmware-bitcloud'
 | 
			
		||||
alias fw='cd $HOME/Netatmo/embedded/firmware'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user