Skip to content

Instantly share code, notes, and snippets.

@stevenwilliamson
Created October 11, 2017 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenwilliamson/9e5c024f53c5376f4b23bf972d40f6a9 to your computer and use it in GitHub Desktop.
Save stevenwilliamson/9e5c024f53c5376f4b23bf972d40f6a9 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd /data/pkgsrc
/opt/local/bin/git remote set-url origin git://github.com/joyent/pkgsrc-legacy.git && git pull
/opt/local/bin/git clone -b 2016Q4 http://github.com/fac/pkgsrc-fa.git fa
cd /data/pkgsrc/fa
/opt/local/bin/git remote rename origin http
/opt/local/bin/git remote add origin git@github.com/fac/pkgsrc-fa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment