Skip to content
config 2.88 KiB
Newer Older
nimrod's avatar
nimrod committed
[advice]
    skippedCherryPicks = false

[apply]
    whitespace = fix
nimrod's avatar
nimrod committed

nimrod's avatar
nimrod committed
[alias]
nimrod's avatar
nimrod committed
    exec = "!${SHELL:-/bin/sh} -ic "
    Pull = pull --progress --ff --tags
    amend = commit --amend
    autorebase = -c 'core.editor=true' rebase -i --autosquash --autostash
    bull = submodule update --remote --init
nimrod's avatar
nimrod committed
    cdif = diff --cached --color-words
    cdiff = diff --cached
    cleaaan = clean -dx
nimrod's avatar
nimrod committed
    cleaan = clean -dX
nimrod's avatar
nimrod committed
    default-branch = name-rev --name-only origin/HEAD
nimrod's avatar
nimrod committed
    dif = diff --color-words --ignore-all-space
    empty-commit = commit --allow-empty
nimrod's avatar
nimrod committed
    ff = merge --no-edit --ff-only
nimrod's avatar
nimrod committed
    fixup = !cd "${GIT_PREFIX:-$PWD}" && git commit --fixup $(git last-commit)
    forget = reset HEAD^
    iec = commit --allow-empty --only --message \"Initial empty commit.\"
nimrod's avatar
nimrod committed
    pick = log --pickaxe-all --patch -G
    pop = stash pop
    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
nimrod's avatar
nimrod committed
    rewrite = autorebase ':/Initial empty commit.'
    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 http.server 8080
    shove = push --force-with-lease
nimrod's avatar
nimrod committed
    squash = !cd "${GIT_PREFIX:-$PWD}" && git commit --squash $(git last-commit)
nimrod's avatar
nimrod committed
    staaash = stash push --all --include-untracked
nimrod's avatar
nimrod committed
    staash = stash push --include-untracked
    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)"
nimrod's avatar
nimrod committed
    touch = "!f() { touch \"$@\" && git add -f \"$@\"; }; f"
    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

nimrod's avatar
nimrod committed

[core]
    whitespace = space-before-tab,-indent-with-non-tab,trailing-space
nimrod's avatar
nimrod committed

nimrod's avatar
nimrod committed
[diff]
nimrod's avatar
nimrod committed
    tool = meld

nimrod's avatar
nimrod committed
[difftool]
nimrod's avatar
nimrod committed
    prompt = false

[fetch]
    fsckobjects = true
    prune = true
nimrod's avatar
nimrod committed

nimrod's avatar
nimrod committed
[filter "ansible-vault"]
    clean = ANSIBLE_VERBOSITY=0 ansible-vault encrypt
    smudge = ANSIBLE_VERBOSITY=0 ansible-vault decrypt
nimrod's avatar
nimrod committed

[grep]
    linenumber = true
nimrod's avatar
nimrod committed

nimrod's avatar
nimrod committed
[help]
    autoCorrect = 20

nimrod's avatar
nimrod committed
[init]
    defaultBranch = master
nimrod's avatar
nimrod committed

nimrod's avatar
nimrod committed
    conflictstyle = zdiff3
nimrod's avatar
nimrod committed
    tool = meld
nimrod's avatar
nimrod committed

nimrod's avatar
nimrod committed
[notes]
    rewriteRef = refs/notes/commits

nimrod's avatar
nimrod committed
    default = simple
nimrod's avatar
nimrod committed
    followTags = true
nimrod's avatar
nimrod committed

nimrod's avatar
nimrod committed
[rebase]
    autoSquash = true
nimrod's avatar
nimrod committed

[receive]
    fsckObjects = true
nimrod's avatar
nimrod committed

[tag]
    forceSignAnnotated = true
nimrod's avatar
nimrod committed

[transfer]
    fsckobjects = true
nimrod's avatar
nimrod committed

[url "git@github.com:"]
	pushInsteadOf = "https://github.com/"

[user]
	email = nimrod@shore.co.il
nimrod's avatar
nimrod committed
	name = Adar Nimrod
nimrod's avatar
nimrod committed
	signingKey = A322378C61339ECD