Created
December 5, 2018 17:04
-
-
Save viktorpenelski/9194d747b1f8993d6d5b8694647834e8 to your computer and use it in GitHub Desktop.
git aliases
This file contains 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
[user] | |
name = Viktor Penelski | |
email = viktor.penelski@paysafe.com | |
[alias] | |
st = status -s | |
cmt = commit -m | |
br = branch | |
co = checkout | |
brn = symbolic-ref --short HEAD | |
up = "!git push -u origin $(git brn)" | |
down = "!git pull origin $(git brn)" | |
history = "log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate" | |
logtree = "log --graph --oneline --decorate --all" | |
last = log -1 HEAD | |
unstage = reset -q HEAD -- | |
amend = commit --amend --no-edit | |
amsg = commit --amend -m | |
uncommit = reset HEAD~ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment