Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-08-24 11:16:39 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
15102a7345487e67ea1b6d783e0bd177b4a126a3
15102a73
1 parent
a7f4104d
refine commit script
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
trunk/scripts/git.commit.sh
trunk/scripts/git.commit.sh
查看文件 @
15102a7
...
...
@@ -23,7 +23,7 @@ work_dir=`(cd ${work_dir}/.. && pwd)`
product_dir
=
$work_dir
# allow start script from any dir
cd
$work_dir
&&
work_branch
=
`
git branch
-a
|grep
"*"
|awk
'{print $2}'
`
&&
commit_branch
=
2.0release
&&
git checkout
$commit_branch
cd
$work_dir
&&
work_branch
=
`
git branch|grep
"*"
|awk
'{print $2}'
`
&&
commit_branch
=
2.0release
&&
git checkout
$commit_branch
ret
=
$ret
;
if
[[
$ret
-ne 0
]]
;
then
echo
"switch branch failed. ret=
$ret
"
;
exit
$ret
;
fi
echo
"work branch is
$work_branch
"
echo
"commit branch is
$commit_branch
"
...
...
请
注册
或
登录
后发表评论