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   ·   5086 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 08:18 · PVG 16:18 · LAX 01:18 · JFK 04:18
♥ Do have faith in what you're doing.