Skip to content

Instantly share code, notes, and snippets.

@XxUnkn0wnxX
Created July 24, 2017 16:34
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save XxUnkn0wnxX/18f4e5f45634f3c77b681d36d17f17f1 to your computer and use it in GitHub Desktop.
Save XxUnkn0wnxX/18f4e5f45634f3c77b681d36d17f17f1 to your computer and use it in GitHub Desktop.
#!/usr/local/bin/bash
source ~/.bash_profile
cd ~/"Apps/SickRage"
git remote set-url origin https://donna.devices.wvvw.me/sickrage/sickrage.git
git remote set-branches --add origin master
git remote update
git fetch origin
git checkout master
git branch --set-upstream-to origin/master
git reset --hard origin/master
git pull
@XxUnkn0wnxX
Copy link
Author

XxUnkn0wnxX commented Jul 24, 2017

this is my temporary solution to fixing the SR DMCA install I always run this with https://github.com/SickRage/SickRage.git/ but now thats down I simply replaced link. please note that you will need to edit this as it won't work on your system as the cd ~/"Apps/SickRage" - the directory where you store sickrage may be different to mine, also will need to change #!/usr/local/bin/bash to #!/bin/bash

and you can remove source ~/.bash_profile

~/ means your home user directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment