Skip to content

Instantly share code, notes, and snippets.

@Nata01
Last active March 5, 2016 17:41
Show Gist options
  • Save Nata01/b4b9f80bb667d084905e to your computer and use it in GitHub Desktop.
Save Nata01/b4b9f80bb667d084905e to your computer and use it in GitHub Desktop.
git init
//create .gitignore
git remote add origin https://github.com/userName/projectName.git
git add .
git commit -m "Commit name"
git pull origin master
git push origin master
git clone https://github.com/userName/projectName.git
git add .
git commit -m "Commit name"
git pull origin master
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment