Logo

dev-resources.site

for different kinds of informations.

How to Leverage Git and AI to View Your Achievements as a Developer

Published at
10/30/2024
Categories
git
ai
codequality
career
Author
tonynyagah
Categories
4 categories in total
git
open
ai
open
codequality
open
career
open
Author
10 person written this
tonynyagah
open
How to Leverage Git and AI to View Your Achievements as a Developer

Introduction

As developers, we often move from one task to the next without much time to reflect. But periodically assessing what you’ve accomplished can be a great motivator and help you communicate your value to teams, managers, or potential employers.
Here’s a simple approach to using your Git commit history to track your achievements over time, with the help of AI to make sense of it all.

Step 1: Filter Your Git Logs

The first step is to look back at your commits over the past year (or a specific timeframe). Git makes it easy to search through your history by date and author. This command will give you a list of commits from the past year, authored by you:

git log --since="1 year ago" --author="[email protected]" --pretty=format:"%h - %an, %ar : %s"
Enter fullscreen mode Exit fullscreen mode

Here’s a breakdown of this command:

  • --since="1 year ago" limits results to commits from the past year.
  • --author="[email protected]" filters commits to only those you made.
  • --pretty=format:"%h - %an, %ar : %s" displays commit hash, author, relative date, and message.

Here's an example of what my logs looked like:

8abe2e3 - Antony Nyagah, 5 days ago : feat(dashboard/*): add link for downloading packaging list
0409dac - Antony Nyagah, 5 days ago : feat(dashboard/*): add a link for downloading delivery notes from the frontend
0c199f9 - Antony Nyagah, 5 days ago : test(api/*): update tests for document_exporter app
Enter fullscreen mode Exit fullscreen mode

Step 2: Export Your Commit Log

For easier analysis, you can export your commit history to a text file:

git log --since="1 year ago" --author="[email protected]" --pretty=format:"%h - %an, %ar : %s" > commit_log.txt
Enter fullscreen mode Exit fullscreen mode

Step 3: Leverage AI for a Detailed Analysis

After exporting the commit log, I pasted the commits into ChatGPT(you can use any number of AI tool that are out there) to get a detailed summary and insights into the types of tasks I’ve accomplished.

The prompt I used was "Can you look at these commits and help me come up with a list of my achievements throughout this year?". The prompt itself can be improved 😅

This helped me uncover trends and group my work into categories like:

  • Infrastructure & CI/CD Enhancements
  • Frontend Development & Refactoring
  • Backend API Development & Maintenance
  • Database and Data Handling Improvements
  • Testing and Code Quality
  • Documentation & Project Management

ChatGPT’s analysis made it easy to see where I added value and what skills I honed over the past year, even bringing out details I might have overlooked. By using AI this way, you can turn your commit log into a meaningful narrative about your contributions.

Step 4: Keeping Commit Messages Meaningful

To make sure my commit messages are succinct and relevant, I personally use Commitizen. This tool helps maintain consistency by following a commit message convention that describes the "why" and "what" of each change.

Meaningful commit messages make logs easier to review, and there are other specifications and tools like Conventional Commits and Husky that can also keep your commit history clean and purposeful.

Step 5: Summarize and Reflect

Reviewing your contributions with AI insights can be both motivating and insightful. Write a brief summary for each category. This can serve as a reference for future performance reviews, portfolio updates, or simply as a reminder of your growth as a developer.

Final Thoughts

Using Git as a reflection tool is quick but effective. And with the added support of AI, you can see the big picture more clearly, connecting technical achievements with your overall development. Keep this record for yourself or share it in your performance reviews or job applications.

codequality Article's
30 articles in total
Favicon
Quality, Innovation, and Sustainability as Strategic Decisions for the New Year 2025.
Favicon
Movie X: A Developer’s Dive Into Flutter Project Organization
Favicon
3 Code Comment Mistakes You're Making Right Now
Favicon
How to Conduct Effective Code Reviews
Favicon
Mastering Software Quality: A Comprehensive Guide To Testing Types
Favicon
How to implement detekt in Spring Boot + Kotlin + Gradle project
Favicon
How Not to Use AI in Software Development
Favicon
LONG METHOD FIXES You Never Knew You Needed!
Favicon
How to Make Perfect Quality Management Forms: Ten Tips
Favicon
Refactoring: The Art of Crafting Cleaner, Smarter, and More Maintainable Code
Favicon
8 essentials for every JavaScript project
Favicon
How LLMs Revolutionize Coding Efficiency
Favicon
Important aspects of a Bug Report - QA
Favicon
Mastering JavaScript Variable Naming: Best Practices
Favicon
Simplifying Complex Code with Advanced Programming Approaches
Favicon
Understanding Software Quality Assurance: Importance, Processes, and Best Practices
Favicon
Reviewbot — Empower Your Code Quality with Self-Hosted Automated Analysis and Review
Favicon
Revamp Your PHP Projects: The Essential PHP 8 Features for Developers
Favicon
Testing in DevOps: Strategies, Tools, and Best Practices for Continuous Quality
Favicon
PHPStan: Elevate Your PHP Code Quality with Static Analysis
Favicon
How to Leverage Git and AI to View Your Achievements as a Developer
Favicon
Top 10 Testing Strategies to Ensure Code Quality in Software Development
Favicon
PHP Generics in Laravel 11
Favicon
Adding a Rubocop config to an old repository | step-by-step guide
Favicon
Securing Seamless IoT Experiences through Quality Assurance Excellence
Favicon
Get Curious not furious
Favicon
Efficient code review process
Favicon
5 Habits System Developers Must Break for Success
Favicon
Beyond Bugs: The Hidden Impact of Code Quality (Part 2) 🌟
Favicon
Beyond Bugs: The Hidden Impact of Code Quality (Part 1) 🌟

Featured ones: