Skip to content

Instantly share code, notes, and snippets.

View palharez's full-sized avatar
🦊
Every lesson learned

Eduardo Palhares palharez

🦊
Every lesson learned
View GitHub Profile
@palharez
palharez / .gitconfig
Last active July 20, 2024 12:36 — forked from diego3g/.gitconfig
[alias]
ci = "!f() { git commit -m \"$*\"; }; f"
co = checkout
cm = checkout master
cb = checkout -b
st = status -sb
sf = show --name-only
lg = log --pretty=format:'%Cred%h%Creset %C(bold)%cr%Creset %Cgreen<%an>%Creset %s' --max-count=30
incoming = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' ..@{u})
outgoing = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' @{u}..)
@palharez
palharez / GitCommitEmoji.md
Created February 25, 2019 23:36 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji