mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 01:17:18 +02:00
11 lines
184 B
Bash
Executable file
11 lines
184 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Update repo
|
|
#
|
|
|
|
# cd to Rails root directory
|
|
cd "$(dirname "$0")"; cd ..
|
|
|
|
git pull origin master &> /dev/null
|
|
git reset --hard &> /dev/null
|
|
unset GIT_DIR GIT_WORK_TREE
|