Created
January 11, 2022 03:25
-
-
Save apinanyogaratnam/e5779146518dbab1adb90a84cc2fa6a9 to your computer and use it in GitHub Desktop.
steps to perform to push to remote repository
This file contains 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
# 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