Github desktop user here, should I learn Git terminal commands?

Been using Github desktop for a while. So far I can do everything I want - merge, commit, rebase, push, pull, create and publish branches, switch between branches, switch repositories, clone, make diff files, see history and changes, compare branches. If there is just one particular file I modified but I want to undo the change I download the file from the online browser repository and paste it back into the local repository.

I feel comfortable doing all those functions with the desktop app, so should I learn Git terminal commands and what for?
Asides from just entering commands a line at a time at a terminal can I make a script “macro” that will execute series of git commands?
And if yes what kind of “macros” could come in handy?

P.S. First post.

Hi @max-torch !

I think it’s great that you found a workflow that suits your needs! Learning git for the command line can be helpful, but may not necessary depending on the problem you are trying to solve.

There are things that can be done via the command-line that simply aren’t possible via Desktop that can come in handy if you get into a bit of a bind. However, GitHub Desktop is great for the normal day-to-day application and even some intermediate tasks as you have noted.

This post may help to clarify the differences between the Command Line Interface (CLI) and the Desktop application.

Thank you so much for answering my inquiry. For some reason I couldn’t quite find an article that explains it like what you’ve shared.
I started trying Git using the command line. I’m not yet quite aware of something that I would want to do for my projects that I haven’t done in the desktop client, but that’s probably because I have gotten so used to the desktop client for my workflow. I’ve decided I’ll keep using the CLI for a while until it really clicks.
Opinion so far:
The desktop client has been glorious for getting just some random person to contribute to a Git project like I can even see how I can easily explain to my parents how to contribute to a Git repo using the desktop so it is definitely not something to take for granted for existing.

1 Like

Hi @max-torch,
I am so glad to hear about your success with using the desktop application. Many folks new to GitHub will start with the desktop tool. I am one of those people :raised_hand:
It’s super cool that you have been able to share what you’ve learned with your parental units. I hope they learn to enjoy the tool as much as you have.
If you decide to dive deeper into the CLI, and need some help or encouragement, please come back to the Community. We will be happy to help!