Newer
Older
[apply]
whitespace = fix
autorebase = -c 'core.editor=true' rebase -i --autosquash --autostash
bull = submodule update --remote --init
cleaan = clean -dX
cleaaan = clean -dx
dif = diff --color-words
empty-commit = commit --allow-empty
fixup = !cd "${GIT_PREFIX:-$PWD}" && git commit --fixup $(git last-commit)
iec = commit --allow-empty --only --message \"Initial empty commit.\"
merg = merge --no-edit
posh = push --set-upstream origin HEAD
pre-commit = ! pre-commit run --files $(git uncommitted)
pull-force = !git fetch && git reset --hard "$(git tracking)"
pushes = !git remote | xargs -n1 git push
retry = !cd "${GIT_PREFIX:-$PWD}" && git amend --no-edit . && git shove
root = rev-parse --show-toplevel
serve-git = daemon --reuseaddr --verbose --base-path=. --export-all ./.git
serve-http = !git update-server-info && cd .git && python -m http.server 8080
squash = !cd "${GIT_PREFIX:-$PWD}" && git commit --squash $(git last-commit)
stat = status --short --branch
tag-version = !git tag --annotate --force --message "v$(cat VERSION)" "v$(cat VERSION)"
temptree = !git worktree prune && git worktree add "$(mktemp -d)"
tracking = rev-parse --abbrev-ref --symbolic-full-name @{upstream}
trigger = !git commit --allow-empty --no-edit --amend && git push --force-with-lease
[color]
grep = true
[core]
whitespace = space-before-tab,-indent-with-non-tab,trailing-space
[fetch]
fsckobjects = true
prune = true
[filter "ansible-vault"]
clean = ANSIBLE_VERBOSITY=0 ansible-vault encrypt
smudge = ANSIBLE_VERBOSITY=0 ansible-vault decrypt
[merge]
tool = meld
ff = false
[push]
followTags = true
[receive]
fsckObjects = true
[tag]
forceSignAnnotated = true
[transfer]
fsckobjects = true
[url "git@github.com:"]
pushInsteadOf = "https://github.com/"
[user]
name = Adar Nimrod
email = nimrod@shore.co.il