Sfoglia il codice sorgente

delete git-pushb

push.autoSetupRemote instead
raylu 1 anno fa
parent
commit
f60e483ac4
1 ha cambiato i file con 0 aggiunte e 10 eliminazioni
  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 $*