Explorar o código

delete git-pushb

push.autoSetupRemote instead
raylu hai 1 ano
pai
achega
f60e483ac4
Modificáronse 1 ficheiros con 0 adicións e 10 borrados
  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 $*