Skip to content
.gitconfig 1.35 KiB
Newer Older
nimrod's avatar
nimrod committed
[alias]
    amend = commit --amend
    bull = submodule update --remote
    clear = clean -fdx
    dif = diff --color-words
    empty-commit = commit --allow-empty
    ff = merge --no-edit --ff-only master
    forget = reset HEAD^
    merg = merge --no-edit
    posh = push --set-upstream origin HEAD
    pul = pull --progress
    pull-force = !git fetch && git reset --hard "$(git tracking)"
    push-force = push --force-with-lease
    root = rev-parse --show-toplevel
nimrod's avatar
nimrod committed
    serve-git = daemon --reuseaddr --verbose --base-path=. --export-all ./.git
    serve-http = !git update-server-info && cd .git && python -m SimpleHTTPServer
    staash = stash --all
    stat = status --short --branch
    tag-version = !git tag -af "v$(cat VERSION)"
    tracking = rev-parse --abbrev-ref --symbolic-full-name @{upstream}
    trigger = !git commit --allow-empty --no-edit --amend && git push --force-with-lease
nimrod's avatar
nimrod committed
    excludesfile = ~/.gitignore_global
nimrod's avatar
nimrod committed
[diff]
nimrod's avatar
nimrod committed
	tool = meld
nimrod's avatar
nimrod committed
[difftool]
	prompt = false
[fetch]
    fsckobjects = true
    prune = true
[merge]
    tool = meld
    ff = false
[push]
    followTags = true
	default = simple
[receive]
    fsckObjects = true
[tag]
    forceSignAnnotated = true
[transfer]
    fsckobjects = true
[user]
	name = Adar Nimrod
	email = nimrod@shore.co.il
	signingKey = E3AE9CD4B8EA564BF746CD909C53CFCB9AAA2526