git-sync-all: pull ff ~/.emacs.d/
This commit is contained in:
parent
4784f1aad5
commit
04f4173d49
|
@ -1,8 +1,9 @@
|
||||||
# Clone ~/.emacs.d/ if it doesn't exist
|
# Clone ~/.emacs.d/ if it doesn't exist, fast-forward pull
|
||||||
EMACS_DIR="$HOME/.emacs.d/"
|
EMACS_DIR="$HOME/.emacs.d/"
|
||||||
if [ ! -d "$EMACS_DIR" ]; then
|
if [ ! -d "$EMACS_DIR" ]; then
|
||||||
git clone "https://git.xenia.me.uk/pixelifytica/emacs.git" "$EMACS_DIR"
|
git clone "https://git.xenia.me.uk/pixelifytica/emacs.git" "$EMACS_DIR"
|
||||||
fi
|
fi
|
||||||
|
git -C "$EMACS_DIR" pull --ff --ff-only
|
||||||
|
|
||||||
# Sync common directories, setting url to ensure it's up-to-date first
|
# Sync common directories, setting url to ensure it's up-to-date first
|
||||||
SYNC_DIRS=(
|
SYNC_DIRS=(
|
||||||
|
|
Loading…
Reference in a new issue