Skip to content

Commit

Permalink
Some more aliases for git
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec42 committed Sep 30, 2016
1 parent 6c75c11 commit a3e5946
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config_snippets/dot.gitconfig
@@ -1,10 +1,16 @@
[user]
# email = sec@42.org
# name = Stefan `Sec` Zehl
[alias]
st = status
sts = status --short --branch
com = commit
lg = log --oneline --all --graph --decorate=short
lge = log --all --graph --pretty=format:'%C(auto)%h%d %s %C(bold blue)<%aN>%Creset' --abbrev-commit
up = "!git remote update -p; git merge --ff-only @{u}"
repull = pull --no-rebase
it = "!git init && git commit -m “root” --allow-empty"
staash = stash --include-untracked
[push]
default = simple
[pull]
Expand Down

0 comments on commit a3e5946

Please sign in to comment.