Created
August 27, 2018 20:18
-
-
Save Maddosaurus/1738852f53365119ccdb84be6b7de996 to your computer and use it in GitHub Desktop.
Windows Powershell ZSH Style Aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function gitc { | |
git commit --verbose | |
} | |
function gita { | |
git add | |
};Set-Alias ga gita | |
function gitaa { | |
git add --all | |
};Set-Alias gaa gitaa | |
function gitcb($branch) { | |
git checkout -b $branch | |
};Set-Alias gcb gitcb | |
function gitcm { | |
git checkout master | |
} | |
function gitd { | |
git diff | |
};Set-Alias gd gitd | |
function gitlola { | |
git log --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %b %Cgreen(%cd) %C(bold blue)<%an>%Creset" --all | |
};Set-Alias glola gitlola | |
function gitst { | |
git status | |
};Set-Alias gst gitst | |
function gitl { | |
git pull | |
} | |
function gitp { | |
git push | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment