Created
April 9, 2015 12:40
-
-
Save greglgomez/31c204dd841f9e04915c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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