Files
openfoodnetwork/script-angular/update-repo.sh

14 lines
291 B
Bash
Executable File

#!/bin/bash
###
# This scripts updates the local repo with the latest changes from github.
#
# The master branch will be REPLACED with what's in github and all local changes
# will be LOST.
###
git checkout master
git fetch -f origin
git fetch --tags origin
git reset --hard origin/master