2022-12-27 19:26:13 -05:00
|
|
|
#!/bin/bash
|
2023-05-11 08:56:55 -04:00
|
|
|
if [[ -d ~/git/dotfiles ]] ; then
|
2023-01-08 10:01:17 -05:00
|
|
|
git config --global user.email "matt@nelim.org"
|
|
|
|
git config --global user.name "matt1432"
|
|
|
|
|
|
|
|
(cd ~/git/dotfiles
|
|
|
|
git config pull.rebase false
|
|
|
|
git pull
|
|
|
|
|
2023-05-11 08:56:55 -04:00
|
|
|
if [[ $(sed 's/.* //' ~/git/dotfiles/.git/FETCH_HEAD) = "git.nelim.org:matt1432/dotfiles" ]] ; then
|
2023-01-08 10:01:17 -05:00
|
|
|
git commit -am "Auto Update"
|
|
|
|
git push
|
|
|
|
fi)
|
2023-01-07 02:35:04 -05:00
|
|
|
fi
|