Sitemap
Write A Catalyst

Write A Catalyst and Build it into Existence.

Member-only story

These Git Shortcuts Saved Me HOURS Every Week

--

These Git Shortcuts Saved Me HOURS Every Week — created/edit by author

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.

Write A Catalyst
Write A Catalyst

Published in Write A Catalyst

Write A Catalyst and Build it into Existence.

Code Crack
Code Crack

Written by Code Crack

Passionate software developer with expertise in building scalable web applications. Skilled in C#, .NET Core, Angular, and modern frontend/backend technologies.

Responses (1)