From af61d8fd1b2c47e117adfabd8c91b7f07d2509bd Mon Sep 17 00:00:00 2001 From: James Bunton Date: Thu, 27 Feb 2014 10:27:02 +1100 Subject: [PATCH 1/1] git: pushd and pushn --- .gitconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitconfig b/.gitconfig index de51fe7..ff72ddc 100644 --- a/.gitconfig +++ b/.gitconfig @@ -25,4 +25,5 @@ ff = merge --ff-only ffpull = pull --ff-only lso = ls-files -X .gitignore -o - newpush = !git push -u origin "$(git rev-parse --abbrev-ref HEAD)" + pushn = !git push origin -u --set-upstream "$(git rev-parse --abbrev-ref HEAD)" + pushd = !git push origin --delete "$(git rev-parse --abbrev-ref HEAD)" -- 2.39.2