Skip to content

Instantly share code, notes, and snippets.

@IT-Berater
Created December 23, 2020 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IT-Berater/3b033b7751cb8d8b5deb178ec7a4dc36 to your computer and use it in GitHub Desktop.
Save IT-Berater/3b033b7751cb8d8b5deb178ec7a4dc36 to your computer and use it in GitHub Desktop.
Git Alias Datei
[user]
email = email@nospam.de
name = Vorname Nachname
[alias]
tree = log --graph --oneline --all
br = branch
unstage = reset HEAD --
last = log -1 HEAD
aa = add --all
bv = branch -vv
ba = branch -ra
bd = branch -d
ca = commit --amend
cb = checkout -b
cm = commit -a --amend -C HEAD
ci = commit -a -v
co = checkout
di = diff
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
ld = log --pretty=format:"%C(yellow)%h\\ %C(green)%ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short --graph
ls = log --pretty=format:"%C(green)%h\\ %C(yellow)[%ad]%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
mm = merge --no-ff
st = status --short --branch
tg = tag -a
pu = push --tags
un = reset --hard HEAD
uh = reset --hard HEAD^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment