?? Post 4 - Writing Better Commits & Keeping a Clean Git History
Bruno Freitas
Senior React Developer | Full Stack Developer | JavaScript | TypeScript | Node.js
Your Git history tells a story. Keep it clean and useful!
?? Writing Good Commit Messages
Bad:
? Update
? Fixed something
Good:
? Fix broken login validation on Safari
? Refactor navbar component to improve accessibility
?? Editing Commits
Forgot to include something in the last commit? Use:
git commit --amend
To reorder or squash commits, use:
git rebase -i HEAD~3
?? Next post: Advanced Git tricks like stash, cherry-pick, and hooks!
?? What’s your favorite Git command?
Senior Software Engineer | Backend-Focused Fullstack Developer | .NET | C# | Angular | React.js | TypeScript | JavaScript | Azure | SQL Server
1 周Nice article Bruno Freitas, thanks for sharing ??
Desenvolvedor Front-end | HTML, CSS, JavaScript, React
1 周Great content ??
.NET Software Engineer | Full-Stack .NET C# & Angular | Microsoft AZ-900 & DP-900
1 周Nice tips!
Senior Front-end Developer | React - NextJS - Typescript - NodeJS - AWS
1 周Interesting Post! Thanks for share!
Software Engineer | Java | Kotlin | Spring | Microservices | AWS | Azure
1 周Good Article