Member-only story
These Git Shortcuts Saved Me HOURS Every Week
Git is our true friend in the world of technology — especially for developers. But it’s easy to get lost in Git’s myriad of commands. When you’re immersed in code every day, saving time and increasing efficiency is essential.
Today, I’m going to talk about the Git shortcuts that have helped me save hours and hours of time every week.
1. git s → status quick check
We often type:
git status
Set an alias instead:
git config --global alias.s status
Now just type:
git s
In just a second you can know which files have changed, whether they are staged or unstaged — everything.
2. git co → quick checkout
When we want to work on a new branch, we write:
git checkout feature/login
To summarize:
git config --global alias.co checkout
Now just write:
git co feature/login
This is a tremendous time saver, especially when you have to change branches frequently.