Added new git commands

This commit is contained in:
Marcin Woźniak 2023-12-28 20:42:16 +01:00
parent 61789a539b
commit 4733077fdc
Signed by: y0rune
GPG Key ID: F204C385F57EB348
1 changed files with 3 additions and 0 deletions

3
.zshrc
View File

@ -199,6 +199,9 @@ alias myip="curl ipinfo.io/ip"
alias changefont="figlet"
# Git
alias gwork='GIT_SSH_COMMAND="ssh -i ~/.ssh/work/id_rsa" git'
alias gitwork=gwork
alias gexclude="git update-index --assume-unchanged"
alias gmaster="git checkout master; git checkout main"
alias gmain="git checkout master; git checkout main"
alias gcommit="git commit --author='Marcin Woźniak <y0rune@aol.com>' -s"