dotfiles/pull.sh

11 lines
309 B
Bash
Raw Normal View History

2022-12-27 19:26:13 -05:00
#!/bin/bash
2023-01-07 02:35:04 -05:00
if [ -d ~/git/dotfiles ] ; then
2023-01-07 03:07:09 -05:00
(git config --global user.email "matt@nelim.org" &&
git config --global user.name "matt1432" &&
2023-01-07 02:35:04 -05:00
cd ~/git/dotfiles &&
git config pull.rebase false &&
2023-01-08 04:13:55 -05:00
git pull &&
git commit -am "Auto Update"
git push)
2023-01-07 02:35:04 -05:00
fi