dotfiles/pull.sh
2023-01-08 04:13:55 -05:00

11 lines
309 B
Bash

#!/bin/bash
if [ -d ~/git/dotfiles ] ; then
(git config --global user.email "matt@nelim.org" &&
git config --global user.name "matt1432" &&
cd ~/git/dotfiles &&
git config pull.rebase false &&
git pull &&
git commit -am "Auto Update"
git push)
fi