Skip to content

Instantly share code, notes, and snippets.

@AmaldevTA
Created November 6, 2018 10:12
Show Gist options
  • Save AmaldevTA/b4d4c93e30f984fcb46b527e955922ab to your computer and use it in GitHub Desktop.
Save AmaldevTA/b4d4c93e30f984fcb46b527e955922ab to your computer and use it in GitHub Desktop.
/** first push **/
cd github/
git init
git add .
git config --global user.email "email"
git config --global user.name "user_name"
git commit -m "initial commit"
git remote add origin https://github.com/user_name/repo.git
git push origin master
/** next push **/
cd github/
git add . or git add --all
git commit -m "next commit"
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment