Skip to content

Instantly share code, notes, and snippets.

View Mark1626's full-sized avatar
👁️
P-4503599627370517

Nimalan Mark1626

👁️
P-4503599627370517
View GitHub Profile
@Mark1626
Mark1626 / .gitalias
Last active July 4, 2020 15:26
Git configuration file (~/.gitconfig)
[alias]
dangling = fsck --no-reflog
ec = config --global -e
f = "!git ls-files | grep -i"
bd = "!sh -c 'git push origin --delete $0; git branch -D $0'"
latest = !sh -c 'git log $1@{1}..$1@{0} "$@"'
what = show -s --pretty='tformat:%h (%s, %ad)' --date=short
who = shortlog -s --
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -"
standup = log --since 1.week.ago --author