Member-only story

6 git commands I use to solve problems

git commands that help my daily work

Ricardo Ribas
6 min readFeb 1, 2023
Photo by hannah joshua on Unsplash

Hey, its Ricardo again 👋. Don’t miss out on the latest articles! Subscribe to the newsletter today or hit the clap button. Really appreciate it. Stay tuned for more.

Everyday, I am always keen to use the terminal 🤓. Is a very nerdy thing of me! Git is just one more excuse to enjoy the process [of using the terminal]. I use it considerably to ease my daily basis tasks. Depending of the context, I try to use git to solve different kind of problems.

Friendly reminder: You can still use tools from github or bitbucket to fill your purpose. I am not trying to convince you to use this approach instead of the other. You can still use those commands using the tool, if needed. However, if you’re an old school guy or you are always eager to use the terminal, the following list of commands might feel useful.

If you are not familiar with some of the commands, don’t worry. I will try to explain as briefly as possible and why I used it, but also add some references to it.

1. git checkout [<branch>]

First things first! As soon you start work on something, most probably it will imply changes on the codebase. I use this command in several situations:

--

--

Ricardo Ribas
Ricardo Ribas

Written by Ricardo Ribas

Software Engineer passionate about rock climbing, yoga, gaming and travelling

No responses yet