Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
c23c6003
Commit
c23c6003
authored
Sep 16, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gpush: fix origin publish
parent
1bf0793c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
gpush
bin/gpush
+3
-1
No files found.
bin/gpush
View file @
c23c6003
...
...
@@ -6,6 +6,8 @@ load_mod git
test
-r
"
$1
"
&&
fatal
"Do not need any files in params"
OVERRIDEGIRARHOST
=
# If run with remote alias like girar name, use only it
if
is_girar_name
$1
;
then
GIRARHOST
=
$1
...
...
@@ -68,7 +70,7 @@ if [ "$1" = "origin" ]; then
exit
fi
if
[
"
$(
git remote |
uniq
)
"
=
"origin"
]
;
then
if
[
-z
"
$OVERRIDEGIRARHOST
"
]
&&
[
"
$(
git remote |
uniq
)
"
=
"origin"
]
;
then
REPO
=
"origin"
git push
$PUSHALL
$PUSHFORCE
$REPO
$@
git push
--tags
$PUSHALL
$PUSHFORCE
$REPO
$@
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment