Skip to content

Instantly share code, notes, and snippets.

@samueleastdev
Last active January 19, 2017 22:24
Show Gist options
  • Save samueleastdev/dd672d2a0033453e031964aa98b86223 to your computer and use it in GitHub Desktop.
Save samueleastdev/dd672d2a0033453e031964aa98b86223 to your computer and use it in GitHub Desktop.
Setting Up New Appc Git Repo From Scratch
# Obviously setup you ssh keys
git init
git remote add origin https://github.com/samueleastdev/appc.push.notifications.git
git add .
git commit -m "first commit"
git push --set-upstream origin master
# you will probabaly get a error at this stage due to the readme
git pull origin master --allow-unrelated-histories
# push it
git push
# Some useful commands
git remote # list remotes
git remote rm origin - remove remotes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment