Skip to content

Instantly share code, notes, and snippets.

@greglgomez
Created April 9, 2015 12:40
Show Gist options
  • Save greglgomez/31c204dd841f9e04915c to your computer and use it in GitHub Desktop.
Save greglgomez/31c204dd841f9e04915c to your computer and use it in GitHub Desktop.
# Change directory to where your Sublime settings are now stored in Dropbox
cd ~/Dropbox/Sublime/User
# Create our .gitignore file with some unnecessary cache files and certificates we don't want to share.
echo $'*ca-bundle\nPackage Control.cache\nPackage Control.last-run' > .gitignore
# Initiate empty git repository
git init
# Add your remote Github repo
git remote origin add {{link to your repo}}
# Commit and push.
git pull
git add .
git commit -m "initial commit"
git remote origin push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment