mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-12-01 23:32:26 +03:00
14 lines
290 B
Bash
14 lines
290 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
###
|
||
|
# This script 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
|