buaawcy's recent timeline updates
buaawcy

buaawcy

V2EX member #511651, joined on 2020-10-09 17:37:25 +08:00
buaawcy's recent replies
🆙
Oct 10, 2020
Replied to a topic by buaawcy 问与答 一个关于 shell 脚本的问题,求大神解答
git_push() {
curBranch=`git symbolic-ref --short -q HEAD`
git add .;
git cm -m $@;
git pr "$curBranch";
}

git_merge_test() {
curBranch=$(echo $(git symbolic-ref --short -q HEAD))
git co wcy_test1
git merge $curBranch
git_push "merge"
git co $curBranch
}

贴一下完整的命令
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2674 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 11:32 · PVG 19:32 · LAX 04:32 · JFK 07:32
♥ Do have faith in what you're doing.