buaawcy 最近的时间轴更新
buaawcy

buaawcy

V2EX 第 511651 号会员,加入于 2020-10-09 17:37:25 +08:00
buaawcy 最近回复了
🆙
2020-10-10 11:20:43 +08:00
回复了 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
}

贴一下完整的命令
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5360 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 01:23 · PVG 09:23 · LAX 18:23 · JFK 21:23
Developed with CodeLauncher
♥ Do have faith in what you're doing.