mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	Alias for commit and commit all with amend
For the lazy and forgetful. Don't worry, a bang is fine in an alias and completion.
🎉
			
			
This commit is contained in:
		| @@ -14,8 +14,12 @@ gdv() { git diff -w "$@" | view - } | ||||
| compdef _git gdv=git-diff | ||||
| alias gc='git commit -v' | ||||
| compdef _git gc=git-commit | ||||
| alias gc!='git commit -v --amend' | ||||
| compdef _git gc!=git-commit | ||||
| alias gca='git commit -v -a' | ||||
| compdef _git gca=git-commit | ||||
| compdef _git gc=git-commit | ||||
| alias gca!='git commit -v -a --amend' | ||||
| compdef _git gca!=git-commit | ||||
| alias gco='git checkout' | ||||
| compdef _git gco=git-checkout | ||||
| alias gcm='git checkout master' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user