1
0
Fork 0
mirror of synced 2024-07-16 05:46:43 -04:00

Fix merge notice

This commit is contained in:
Tim Byrne 2015-07-14 08:16:45 -05:00
parent c941690295
commit 886c5ada53

4
yadm
View file

@ -148,9 +148,11 @@ function clone() {
#; fetch / merge (and possibly fallback to reset)
debug "Doing an initial fetch of the origin"
git fetch origin
debug "Doing an initial merge of origin/master"
git merge origin/master || {
debug "Merge failed, doing a reset."
git reset origin/master
echo <<EOF
cat <<EOF
**NOTE**
Merging origin/master failed.
YADM did 'reset origin/master' instead.