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
7ed285c5
Commit
7ed285c5
authored
Jul 13, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update ginit/gpush
parent
25dd89fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
ginit
bin/ginit
+4
-1
gpush
bin/gpush
+1
-1
No files found.
bin/ginit
View file @
7ed285c5
...
@@ -6,11 +6,14 @@
...
@@ -6,11 +6,14 @@
#test -n "$SPECNAME" || SPECNAME=$(basename `pwd`).spec
#test -n "$SPECNAME" || SPECNAME=$(basename `pwd`).spec
if
[
"
$1
"
=
"-h"
]
;
then
if
[
"
$1
"
=
"-h"
]
;
then
echo
"ginit - initialize repo in
$GIRARHOST
for current project"
echo
"ginit
[GEAR]
- initialize repo in
$GIRARHOST
for current project"
echo
"Use: ginit without parameters"
echo
"Use: ginit without parameters"
echo
" ginit git.eter - for init in git.eter gear repo"
exit
1
exit
1
fi
fi
[
-n
"
$1
"
]
&&
GIRARHOST
=
$1
PROJECTNAME
=
$(
basename
`
pwd
`
)
PROJECTNAME
=
$(
basename
`
pwd
`
)
echo
"Create remote
$PROJECTNAME
repo"
echo
"Create remote
$PROJECTNAME
repo"
ssh
$GIRARHOST
git-init-db
$PROJECTNAME
.git
ssh
$GIRARHOST
git-init-db
$PROJECTNAME
.git
...
...
bin/gpush
View file @
7ed285c5
...
@@ -46,7 +46,7 @@ if [ -n "$1" ] ; then
...
@@ -46,7 +46,7 @@ if [ -n "$1" ] ; then
shift
shift
else
else
TARGETBRANCH
=
TARGETBRANCH
=
[
-n
"
$PUSHALL
"
]
||
TARGETBRANCH
=
master
#
[ -n "$PUSHALL" ] || TARGETBRANCH=master
fi
fi
git push
$PUSHALL
$PUSHFORCE
$GIRARHOST
:packages/
$PROJECTNAME
.git
$TARGETBRANCH
git push
$PUSHALL
$PUSHFORCE
$GIRARHOST
:packages/
$PROJECTNAME
.git
$TARGETBRANCH
...
...
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