Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialChristopher Mlalazi
Front End Web Development Techdegree Graduate 17,305 PointsGithub Edit Commit Description
I hope my question is clear. I have just made committed an edit of my personal profile page on Github, but I wanted to change/edit the text describing it how do I do that I canβt see any eat button?
2 Answers
Seth Kroger
56,413 PointsYou'll need to use the "git commit --ammend" command and possibly force a push. GitHub has instructions on how to do this in there help pages here: https://help.github.com/articles/changing-a-commit-message/
Christopher Mlalazi
Front End Web Development Techdegree Graduate 17,305 PointsOkay thanks let me try that
Christopher Mlalazi
Front End Web Development Techdegree Graduate 17,305 PointsChristopher Mlalazi
Front End Web Development Techdegree Graduate 17,305 PointsThanks Seth, I tried to read that but couldnβt figure out how it works. Will try again cheers.
Seth Kroger
56,413 PointsSeth Kroger
56,413 PointsFrom the command shell you would often set a message like this: git commit -m "Message here" to skip using the console text editor. To change the most recent message would be the command: git commit --amend -m "New message here" If you've pushed the change to GitHub from your local repo, you would then need to do the command: git push --force your-branch-name-here