Autopull test
This commit is contained in:
@@ -21,7 +21,7 @@ fi
|
||||
|
||||
update_dotfiles() {
|
||||
cd ~/dotfiles || return
|
||||
if git fetch --dry-run 2>/dev/null | grep -q .; then
|
||||
if git fetch --dry-run 2>&1 | grep -q .; then
|
||||
git pull > /dev/null 2>&1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user