Skip to content

Failing to update page #22232

Answered by airtower-luna
levilone asked this question in General
Discussion options

You must be logged in to vote
levilone:

now when i use git push index.html I get:

You can’t push a file. You need to commit the file to the branch that’s being published, and then push the branch.

Here’s the Github documentation on pushing:

docs.github.com

Pushing commits to a remote repository - GitHub Docs

For a general introduction to git I highly recommend the Git Book, especially chapter 2.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
2 participants