Skip to content
On this page

同步远端git 分支

shell
#! /bin/sh

git pull
echo "git pull success";

git remote prune origin
echo "sync origin branch success";

git remote show origin
echo "curren remote origin";

Released under the MIT License.