Browse Source

delete git-pushb

push.autoSetupRemote instead
raylu 1 year ago
parent
commit
f60e483ac4
1 changed files with 0 additions and 10 deletions
  1. 0 10
      git-pushb

+ 0 - 10
git-pushb

@@ -1,10 +0,0 @@
-#!/usr/bin/env bash
-
-set -euo pipefail
-
-BRANCH=`git symbolic-ref --short HEAD`
-if [[ $BRANCH == master || $BRANCH == main ]]; then
-  echo "not pushing $BRANCH"
-  exit 1
-fi
-git push -u origin $BRANCH $*