forked from github/server
add a script to pull a branch and update submodules
This commit is contained in:
parent
9334677d81
commit
f7205251a3
1 changed files with 5 additions and 0 deletions
5
s/pull
Executable file
5
s/pull
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
if [ ! -z $1 ]; then
|
||||||
|
git checkout $1
|
||||||
|
fi
|
||||||
|
git pull && git submodule update
|
Loading…
Reference in a new issue