{"id":16673093,"url":"https://github.com/ph-7/outstandinggitpractices","last_synced_at":"2026-02-08T06:38:49.010Z","repository":{"id":144638251,"uuid":"477488490","full_name":"pH-7/OutstandingGitPractices","owner":"pH-7","description":"OutstandingGitPractices™ contains a list of best practices to follow when using git. If you would like to become an outstanding dev, well, this is your guideline!  ","archived":false,"fork":false,"pushed_at":"2024-06-10T02:32:46.000Z","size":323,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-02T12:30:46.408Z","etag":null,"topics":["clean","clean-code","commit-code","communication","git","gitcommit","github","good-practices"],"latest_commit_sha":null,"homepage":"https://dev.to/pierre/guideline-git-commit-2blb","language":null,"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/pH-7.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":"2022-04-03T23:09:46.000Z","updated_at":"2024-06-10T02:32:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"459603d6-eb32-4d5b-b1db-383147a1fb63","html_url":"https://github.com/pH-7/OutstandingGitPractices","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FOutstandingGitPractices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FOutstandingGitPractices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FOutstandingGitPractices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FOutstandingGitPractices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pH-7","download_url":"https://codeload.github.com/pH-7/OutstandingGitPractices/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239044640,"owners_count":19572715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["clean","clean-code","commit-code","communication","git","gitcommit","github","good-practices"],"created_at":"2024-10-12T12:24:34.563Z","updated_at":"2025-10-30T19:31:37.526Z","avatar_url":"https://github.com/pH-7.png","language":null,"readme":"# Outstanding Git Practices\n\n### The 2 Most Important Guidelines When Committing Your Code\n\n- [Commit Messages](#commit-messages-)\n- [Git Commits](#git-commits-)\n- [About the Author](#about-the-author-)\n\n## Commit Messages 📝\n\nCommit messages play a big role in the understanding of every change. They should be in present tense, short, clear and explicit. \n\nThey should clearly say **what happened** as well as the **reason**/**motivation** behind the change. \n\nAsk yourself, “*What are the changes done for?*” In other words, *“Why did you do what you did?”* - In short, it is the explanation that we don't necessarily see in the code diff of the commit.\n\nAdditionally, add the ticket ID at the beginning of your commit message. Sometimes, we need to know the reason why a piece of code has been changed and need to dig into the ticket to have a full understanding of the context of the feature requirements.\n\n---\n\n## Git Commits 🎨\n\n✅ Each commit should be small and fix only one thing per commit, not more. Following this important rule, if your commit message contains the word `and` or `+` sign, that means you are trying to commit multiple changes in one commit and you shouldn't ❌\n\nThis rule is not just there to be nice. When you need to `git revert` or `cherry-pick` a commit from your git history, the fact that one commit only contains one specific update really helps.\n\n\n## 🎥 [Why you shouldn't use AI auto-generated commit messages?](https://youtu.be/V-QH6St6Ki8)\n\u003c!--\n[![Why you shouldn't use AI auto-generated commit messages?](https://i1.ytimg.com/vi/V-QH6St6Ki8/maxresdefault.jpg)](https://youtu.be/V-QH6St6Ki8)\n--\u003e\n👉 [Click here to watch on YouTube](https://youtu.be/V-QH6St6Ki8)\n\n\n## About the Author 👨‍🍳\n\n**[Pierre-Henry Soria](https://ph7.me)**. A super passionate and enthusiastic software engineer, and a true cheese \u0026 chocolate lover 💫 \n\n[![@phenrysay](https://img.shields.io/badge/x-000000?style=for-the-badge\u0026logo=x)](https://x.com/phenrysay \"Follow me on X\") [![pH-7](https://img.shields.io/badge/GitHub-100000?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://github.com/pH-7 \"Follow me on GitHub\") [![YouTube Tech Videos](https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge\u0026logo=youtube\u0026logoColor=white)](https://www.youtube.com/@pH7Programming \"Subscribe to my YouTube Tech Channel\")\n\n[![Pierre-Henry Soria](https://s.gravatar.com/avatar/a210fe61253c43c869d71eaed0e90149?s=200)](https://ph7.me \"Pierre-Henry Soria personal website\")\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph-7%2Foutstandinggitpractices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fph-7%2Foutstandinggitpractices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph-7%2Foutstandinggitpractices/lists"}