Skip to content

How do you push changes to your GitHub page without deleting everything and re-uploading it? #23041

Discussion options

You must be logged in to vote

Hello @sphericalsilver,

You want to update the master branch, correct? If so, you should be able to run  git push origin master to push your local changes to your online repository. The following page has more info on git push.

https://help.github.com/en/articles/pushing-commits-to-a-remote-repository

Another alternative is to use GitHub Desktop. With this you can clone your repository to your local system, make changes, and then commit and push these changes to your online repository. This the method I use to update my GitHub pages.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@abdulmukit-n
Comment options

@airtower-luna
Comment options

@Felix404-student
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants