Make `build pull` less destructive
This commit is contained in:
parent
7f9b54493c
commit
2c7f9641c8
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue