Make `build pull` less destructive
This commit is contained in:
parent
7f9b54493c
commit
2c7f9641c8
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
default gitBranch=''
|
default gitBranch=''
|
||||||
|
|
||||||
var gitCommand='pull ${gitUri}'
|
var gitCommand='pull --ff-only ${gitUri}'
|
||||||
set gitCommand='${gitCommand} ${gitBranch}' if='!string.IsNullOrEmpty(gitBranch)'
|
set gitCommand='${gitCommand} ${gitBranch}:${gitBranch}' if='!string.IsNullOrEmpty(gitBranch)'
|
||||||
|
|
||||||
git
|
git
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue