Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (36 sloc) 1.373 kB
s[user]
email = dave.hulbert@basecreativeagency.com
name = Dave Hulbert
[core]
#editor = nano
[color]
diff = auto
status = auto
branch = auto
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
d = diff --color-words
# different logs
lg = log -p --decorate
l = "! git --no-pager log --oneline --graph -n 18 --decorate"
ll = "log --oneline --graph --decorate --branches"
# get the 1st changed file
f = "! git status --porcelain| awk '{ print $2 }' | head -n 1"
# overview of the whole project's history, tags, branches, with dates
overview = log --graph --simplify-by-decoration --decorate --pretty=format:'%cd%Cgreen%d %Cblue%h %Creset%s' --date=short
# allows you to use "git add -i" or "git add -p" with new files
stage-empty-file = "! git update-index --add --cacheinfo 100644 $(git hash-object -w /dev/null) "
# top level of repo
top=rev-parse --show-toplevel
# copy all generic hooks to this repos hook folder
setup-hooks="! cp -n ~/scripts/git-hooks/* $(git rev-parse --show-toplevel)/.git/hooks/"
[branch]
autosetupmerge = always
[push]
default = tracking
[merge]
stat = true
Jump to Line
Something went wrong with that request. Please try again.