diff --git a/fabfile.py b/fabfile.py index ca9fe53..f8635a6 100644 --- a/fabfile.py +++ b/fabfile.py @@ -98,6 +98,16 @@ def update_repo(): with cd('%(path)s/dreddit-auth/' % env): run('git pull') +def reset_repo(): + """ + Does a hard reset on the remote repo + """ + require('hosts') + require('path') + + with cd('%(path)s/dreddit-auth/' % env): + run('git reset --hard') + def migrate(): """