rsemcs/update.sh

6 lines
117 B
Bash
Executable File

#!/bin/sh
git reset --hard
git checkout master
git pull origin master --ff-only
git checkout master@{'24 hours ago'}