Skip to content

Instantly share code, notes, and snippets.

@GustavoEmmel
Forked from jfollmann/.gitconfig
Created July 11, 2019 12:51
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 GustavoEmmel/76bc8b628e53c6e579d7d13d1f007ce5 to your computer and use it in GitHub Desktop.
Save GustavoEmmel/76bc8b628e53c6e579d7d13d1f007ce5 to your computer and use it in GitHub Desktop.
Git configuration file
# This is Git's per-user configuration file.
[color]
ui = auto
status = auto
diff = auto
branch = auto
interactive = auto
[user]
name = Jefferson Follmann
email = jeff.follmann@gmail.com
[alias]
co = checkout
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
cm = commit
ac = !git add -A && git commit
st = status -sb
tags = tag -l
branches = branch -a
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment