Commit 5845e35f authored by liuzheng712's avatar liuzheng712

fix: use publish is better

parent b77be953
#!/bin/bash
# coding: utf-8
# Copyright (c) 2017
# Gmail:liuzheng712
#
set -ex
git checkout public && \
git pull github dev --rebase && \
git merge master -m "public" && \
git reset --soft HEAD^ && \
git commit -m "public" && \
git push github public:dev && \
echo "success"
git checkout master
git pull github dev --commit && git push origin master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment