* admin/update_autogen (commit): Pull before push.
This commit is contained in:
parent
df4e105910
commit
1b598d32aa
1 changed files with 2 additions and 0 deletions
|
@ -237,6 +237,8 @@ commit ()
|
|||
$vcs commit -m "; Auto-commit of $type files." "$@" || return $?
|
||||
|
||||
[ "$vcs" = "git" ] && {
|
||||
## In case someone else pushed something while we were working.
|
||||
$vcs pull --rebase || return $?
|
||||
$vcs push || return $?
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue