October 13, 2025
·
1 min read
I ran into a stubborn GitHub notification blue dot that wouldn’t go away even though the Notifications page showed nothing. Here’s the quick, safe way I found to resolve it, plus a few alternatives and notes on why it happens.
...
August 21, 2025
·
0 min read
Sometimes you encounter a large repository but only need a few directories from it. Cloning the entire repo wastes both time and disk space. Git’s sparse checkout solves this problem by letting you pull only the parts you need.
...
March 28, 2025
·
1 min read
Git submodule is a feature of Git that allows you to include a Git repository as a subdirectory of another Git repository. It is often used to manage dependencies between projects.
...
January 7, 2025
·
4 min read

This is a Git cheatsheet that distills my years of experience.
- Workspace: The directory of the repository. The working directory is independent of each branch.
- Staging Area (Index): A temporary area for data, similar to a cache before writing from the working directory to the repository. The staging area is independent of each branch.
- Repository: Stores all code versions that have been committed to the local repository.
- Version Structure: A tree structure where each node represents a code version.
...
January 3, 2025
·
0 min read

Most of time, we need to reply the commiter to adjust some code, sometimes it’s not efficient. Instead, we can directly add the commit to the PR.
...
January 3, 2025
·
2 min read
Sometimes we make too many small commits during development, and it’s better to squash them into one clean commit before pushing. Here’s how to use git rebase -i to merge multiple commits.
...