Skip to content

Commit

Permalink
chore: update git alias
Browse files Browse the repository at this point in the history
  • Loading branch information
jegj committed May 22, 2024
1 parent f3ba4ae commit 760cb40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/git/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
forget="!git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D"
forgetlist="!git fetch -p && git branch -vv | awk '/: gone]/{print $1}'"
uncommit = reset --soft HEAD~1
lb = ! git reflog show --pretty=format:'%gs ~ %gd' --date=relative | grep 'checkout:' | grep -oE '[^ ]+ ~ .*' | awk -F~ '!seen[$1]++' | head -n 10 | awk -F' ~ HEAD@{' '{printf(\" \\033[33m%s: \\033[37m %s\\033[0m\\n\", substr($2, 1, length($2)-1), $1)}'
[user]
email = jegj57@gmail.com
name = Javier Galarza

0 comments on commit 760cb40

Please sign in to comment.