{"id":19972479,"url":"https://github.com/traveltimn/version-control-playground","last_synced_at":"2026-03-19T12:52:20.619Z","repository":{"id":98650847,"uuid":"593118148","full_name":"TravelTimN/version-control-playground","owner":"TravelTimN","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-25T10:36:43.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T17:05:24.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TravelTimN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-25T09:28:57.000Z","updated_at":"2023-01-25T16:12:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"26defe4d-aa10-49e1-b81e-825577322235","html_url":"https://github.com/TravelTimN/version-control-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"Code-Institute-Org/gitpod-full-template","purl":"pkg:github/TravelTimN/version-control-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelTimN%2Fversion-control-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelTimN%2Fversion-control-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelTimN%2Fversion-control-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelTimN%2Fversion-control-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TravelTimN","download_url":"https://codeload.github.com/TravelTimN/version-control-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravelTimN%2Fversion-control-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29398807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T03:08:20.257Z","updated_at":"2026-02-13T07:38:08.595Z","avatar_url":"https://github.com/TravelTimN.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Changing Commit Messages\n\nIf you have already pushed the commit to GitHub.com, you will have to force push a commit with an amended message.\n\nWe strongly discourage force pushing, since this changes the history of your repository. If you force push, people who have already cloned your repository will have to manually fix their local history. For more information, see the [official docs from GitHub](https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/changing-a-commit-message).\n\n---\n\n## Steps\n\nIn the Terminal, type:\n- `git rebase -i HEAD~#`\n\n(replace the `#` with the number of previous commits you want to show)\n\nExample:\n- `git rebase -i HEAD~5`\n\nFor each commit message you want to change, replace the word `pick` at the start with `reword`.\n\nExample:\n\n```\npick 8f6e755 Update README with automatic updates on username\npick af3bed3 Add boilerplate for index page\nreword cb6e4ec Update index with starter header/nav elements, and add some code comments, and this commit is intentionally long on purpose in order to try to change the commit message later\npick f06170d Add starter CSS styles\nreword 6c2f44a Add footer details and link to CSS\n```\n\n*As you can see, I've selected two previous commit messages to `reword`.*\n\nSave the file, and then close it.\n\nFor any commit you've selected to `reword`, once you've saved/closed the file, it'll launch a new commit file to edit the message.\n\nExample original commit:\n- `Update index with starter header/nav elements, and add some code comments, and this commit is intentionally long on purpose in order to try to change the commit message later`\n\nIt will show in red text if too long, or white text if already less than 50 characters.\n\nEdit this to what you want the new commit to be.\n\n*(note: it gives you a vertical grey line to remind you of where 50 characters is for the max-length per line)*\n\nI've updated the red text to:\n- `Update index with starter header/nav elements with code comments`\n\nSave the file, then close it.\n\nThis process will repeat for any other commits that you selected for `reword`.\n\nRepeat, save/close for each of them until all of your reword commits are done.\n\nOnce they're all saved and closed, it'll bring you back to the Terminal.\n\nNow, all we need to do is \"**force**\" push these changes.\n\n**Please note: we should, where possible, avoid force-pushing! Use this with caution!**\n\n- `git push --force`\n\nThat's it!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraveltimn%2Fversion-control-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraveltimn%2Fversion-control-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraveltimn%2Fversion-control-playground/lists"}