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
939f63a9
You need to sign in or sign up before continuing.
Commit
939f63a9
authored
Dec 06, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ginit/gpull/gpush: update comments
parent
fb2e3884
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
ginit
bin/ginit
+3
-2
gpull
bin/gpull
+1
-1
gpush
bin/gpush
+3
-4
No files found.
bin/ginit
View file @
939f63a9
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
.
`
dirname
$0
`
/../share/eterbuild/functions/common
.
`
dirname
$0
`
/../share/eterbuild/functions/common
load_mod git
load_mod git
#test -n "$SPECNAME" || SPECNAME=$(basename `pwd`).spec
test
-r
"
$1
"
&&
fatal
"Do not need any files in params"
if
[
"
$1
"
=
"-h"
]
;
then
if
[
"
$1
"
=
"-h"
]
;
then
echo
"ginit [GEAR] - initialize repo in
$GIRARHOST
for current project"
echo
"ginit [GEAR] - initialize repo in
$GIRARHOST
for current project"
...
@@ -21,4 +21,5 @@ fi
...
@@ -21,4 +21,5 @@ fi
PROJECTNAME
=
$(
basename
`
pwd
`
)
PROJECTNAME
=
$(
basename
`
pwd
`
)
echo
"Create remote
$PROJECTNAME
repo in
$GIRARHOST
:"
echo
"Create remote
$PROJECTNAME
repo in
$GIRARHOST
:"
ssh
$GIRARHOST
git-init-db
$PROJECTNAME
.git
ssh
$GIRARHOST
git-init-db
$PROJECTNAME
.git
git remote add origin
$GIRARHOST
:packages/
$PROJECTNAME
.git
echo
"Create
$GIRARHOST
remote repo alias"
git remote add
$GIRARHOST
$GIRARHOST
:packages/
$PROJECTNAME
.git
bin/gpull
View file @
939f63a9
...
@@ -16,4 +16,4 @@ if is_girar_name $1 ; then
...
@@ -16,4 +16,4 @@ if is_girar_name $1 ; then
fi
fi
echo
"Pull repo from
$GIRARHOST
"
echo
"Pull repo from
$GIRARHOST
"
git pull
--rebase
$@
git pull
--rebase
$
GIRARHOST
$
@
bin/gpush
View file @
939f63a9
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
.
`
dirname
$0
`
/../share/eterbuild/functions/common
.
`
dirname
$0
`
/../share/eterbuild/functions/common
load_mod git
load_mod git
#test -n "$SPECNAME" || SPECNAME=$(basename `pwd`).spec
test
-r
"
$1
"
&&
fatal
"Do not need any files in params"
if
[
"
$1
"
=
"-h"
]
;
then
if
[
"
$1
"
=
"-h"
]
;
then
echo
"gpush - publish current project repo remote git repo"
echo
"gpush - publish current project repo remote git repo"
...
@@ -51,11 +51,10 @@ if [ -n "$1" ] ; then
...
@@ -51,11 +51,10 @@ if [ -n "$1" ] ; then
TARGETBRANCH
=
$CURRENTBRANCH
:
$1
TARGETBRANCH
=
$CURRENTBRANCH
:
$1
shift
shift
else
else
TARGETBRANCH
=
TARGETBRANCH
=
$CURRENTBRANCH
#[ -n "$PUSHALL" ] || TARGETBRANCH=master
fi
fi
echo
"Push
$PROJECTNAME
.git to
$GIRARHOST
:packages/
$PROJECTNAME
.git
$TARGETBRANCH
"
echo
"Push
branch
$TARGETBRANCH
from
$PROJECTNAME
.git to
$GIRARHOST
:packages/
$PROJECTNAME
.git
"
git push
$PUSHALL
$PUSHFORCE
$GIRARHOST
:packages/
$PROJECTNAME
.git
$TARGETBRANCH
git push
$PUSHALL
$PUSHFORCE
$GIRARHOST
:packages/
$PROJECTNAME
.git
$TARGETBRANCH
git push
--tags
$GIRARHOST
:packages/
$PROJECTNAME
.git
$TARGETBRANCH
git push
--tags
$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