forked from github/server
git pull with rebase
This commit is contained in:
parent
55704cfce8
commit
d8a824631c
|
@ -25,7 +25,7 @@ cd $SOURCE
|
|||
rm -rf tolua
|
||||
git fetch || abort "failed to update source. do you have local changes?"
|
||||
[ -z $1 ] || git checkout $1
|
||||
git pull -q
|
||||
git pull --rebase -q
|
||||
git submodule update
|
||||
s/cmake-init
|
||||
s/build > /dev/null || abort "build failed."
|
||||
|
|
5
s/pull
5
s/pull
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
if [ ! -z $1 ]; then
|
||||
git checkout $1
|
||||
fi
|
||||
git pull && git submodule update
|
Loading…
Reference in New Issue