Skip to content

Instantly share code, notes, and snippets.

@apinanyogaratnam
Created January 11, 2022 03:25
Show Gist options
  • Save apinanyogaratnam/e5779146518dbab1adb90a84cc2fa6a9 to your computer and use it in GitHub Desktop.
Save apinanyogaratnam/e5779146518dbab1adb90a84cc2fa6a9 to your computer and use it in GitHub Desktop.
steps to perform to push to remote repository
# add all contents to git
git add .
# commit all contents to staging index
git commit -m 'some message goes here about the changes made'
# add a remote origin
git remote add origin https://github.com/<username>/<project-name>
# view branch name
git branch
# push to remote repository
git push origin <branch-name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment