Set git sync config within git-sync-all script
This commit is contained in:
parent
e8758efb0c
commit
4468fa1a8f
|
@ -3,6 +3,8 @@
|
||||||
for DIRECTORY in $HOME/.nixos $HOME/.emacs $HOME/.password-store $HOME/.elfeed $HOME/Documents/Org $HOME/Documents/References; do
|
for DIRECTORY in $HOME/.nixos $HOME/.emacs $HOME/.password-store $HOME/.elfeed $HOME/Documents/Org $HOME/Documents/References; do
|
||||||
echo "--- $DIRECTORY ---"
|
echo "--- $DIRECTORY ---"
|
||||||
mkdir -p $DIRECTORY
|
mkdir -p $DIRECTORY
|
||||||
cd $DIRECTORY && git-sync
|
cd $DIRECTORY
|
||||||
|
git config --bool branch.main.sync true
|
||||||
|
git-sync
|
||||||
cd -
|
cd -
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue