Make `build pull` less destructive

This commit is contained in:
Brice Lambson 2014-05-06 09:34:10 -07:00
parent 7f9b54493c
commit 2c7f9641c8
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
default gitBranch=''
var gitCommand='pull ${gitUri}'
set gitCommand='${gitCommand} ${gitBranch}' if='!string.IsNullOrEmpty(gitBranch)'
var gitCommand='pull --ff-only ${gitUri}'
set gitCommand='${gitCommand} ${gitBranch}:${gitBranch}' if='!string.IsNullOrEmpty(gitBranch)'
git