diff --git a/.gitconfig.khan b/.gitconfig.khan index a1b22bb..ac476c3 100644 --- a/.gitconfig.khan +++ b/.gitconfig.khan @@ -35,6 +35,7 @@ outgoing = "!git fetch >/dev/null 2>&1; git log @{upstream}..HEAD" incoming = "!git fetch >/dev/null 2>&1; git log HEAD..@{upstream}" update-submodule = !bash -c 'git pull --no-rebase && pushd $1 && git co master && git pull && popd && git commit ${1%/} -m Substate\\ for\\ ${1%/} -m Test\\ plan: -m None && git push' -- + branch-name = "!git rev-parse --abbrev-ref HEAD" pup = "!git push origin $(git branch-name)" pown = "!git pull origin $(git branch-name)" pupl = pup --force-with-lease