pxs ne requière plus la présence du remote origin
This commit is contained in:
parent
4a4094c493
commit
190519d968
7
uproject
7
uproject
|
@ -241,7 +241,12 @@ elif array_contains VCS_CMDS "$CMD"; then
|
|||
elif array_contains GITANNEX_CMDS "$CMD"; then
|
||||
function xsync() {
|
||||
if ! git_have_annex; then
|
||||
git_commit -Al "Maj des fichiers" && git pull && git_push
|
||||
setyesval offline "$UTOOLS_VCS_OFFLINE"
|
||||
if git_commit -Al "Maj des fichiers"; then
|
||||
[ -n "$offline" ] && return 0
|
||||
git_have_remote || return 0
|
||||
git pull && git_push
|
||||
fi
|
||||
elif is_yes "$(git config --get annex.direct)"; then
|
||||
git annex add &&
|
||||
git annex sync &&
|
||||
|
|
Loading…
Reference in New Issue