浏览代码

delete git-pushb

push.autoSetupRemote instead
raylu 1 年之前
父节点
当前提交
f60e483ac4
共有 1 个文件被更改,包括 0 次插入10 次删除
  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 $*