Skip to main content

git push always says "Everything up-to-date" but nothing is pushed

Comments

5 comments

  • Fabius
    I've just now noticed that in cPanel, if I go to "Manage" the repository, there's a "Checked-Out Branch" field. If I select the "main" branch and click "Update" then my files all appear! I don't see any mention of needing to do that in the cPanel documentation about Git.
    0
  • cPRex Jurassic Moderator
    Hey there! I didn't get to this one today, but I'm hoping to have some better details for you tomorrow. Our support for Git tools is a bit limited, but I'll try and get you some good details.
    0
  • cPRex Jurassic Moderator
    I'm glad you were able to get more details on that! Can you let me know specifically where in the documentation you feel that should be added so I can review that?
    0
  • Fabius
    I don't know to be honest. The Git documentation is several pages and I was having to jump back and forth between them, and various third-party blog posts, to try and figure out how to get anything working. The "Checked-out Branch" bit is mentioned at the very end of Git" Version Control | cPanel & WHM Documentation But then other pages like Guide to Git" - Host Git Repositories on a cPanel Account | cPanel & WHM Documentation mention the Git Version Control page but then go on to only use the command line. I was really lacking a simple step-by-step process for setting things up using cPanel, instead of the command line.
    0
  • cPRex Jurassic Moderator
    I'm not going to lie, Git is a beast no matter how it's set up.
    0

Please sign in to leave a comment.