DEV Community

Cover image for Does not remember git commands a bad thing?

Does not remember git commands a bad thing?

Bassim RAJI on September 14, 2020

I've been using git extension in Vscode for a long time so just clicking (to commit, push,...) I do only use commands if it's something complicated...
Collapse
 
jessekphillips profile image
Jesse Phillips

Forgetting how isn't a problem. Not doing something because you don't want to look it up is.

Being aware something is possible is most important.

But you said basic commands. If you have a way, then you don't need to force yourself into a different way. However, I do believe the tools you choose for convenience will influence your choice on other things.

Using VS for Git makes it hard to do line by line commits, rebaseing and other useful things.

Collapse
 
bassimsmile profile image
Bassim RAJI

Yeah that happens when I had to do something like pretty complexe in it I do first look at a Vs git solution than if I struggle or I don't find than I go to commands

Collapse
 
reinoute profile image
Reinout

I've used it for 5 years and I still can't remember them (I Google "undo last commit" every time).

Git solves a difficult technical problem, but the UX is pretty terrible.

In my opinion that's also the reason why it never took off outside the domain of software development.

Collapse
 
juanfrank77 profile image
Juan F Gonzalez

It's very natural to not remember something that it's not used constantly. I personally use VSCode for everything except for Git, I prefer to do that all from the command line because somethings Code messes up something and then I have to go in and figure out what happened.

I actually very recently posted about some Git commands and several tricks I've picked up lately. Shameless plug.

Collapse
 
jouo profile image
Jashua

You can always use Google so it doesn't matter, but perhaps at least memorize the basic commands, it will save you some time whenever you are forced to use the CLI :)

Collapse
 
perpetual_education profile image
perpetual . education

We prefer to use Tower. Git commands are yucky - and we have more confidence when we can see what is happening instead of working with a black box.

Collapse
 
bassimsmile profile image
Bassim RAJI

Never knew about that, thank you 👌

Collapse
 
svemaraju profile image
Srikanth

Not really, I google it all the time. As long as you're aware of what a command is going to do before running it, I think it's fine.

Collapse
 
joelbonetr profile image
JoelBonetR 🥇

Nope, you can simply use a management GUI such GitKraken or a plugin for your IDE and forget about command line.

It's ok if you want to learn the commands but als it's ok if you don't, as long as you remember the concepts (pull, push, merge, rebase, branch and so).

I'm with gitkraken after trying VScode plugins, native PHP Storm git manager, smartgit and few more because the automerge of gitkraken is like a GOD and makes you much more efficient at work. It also includes gitlab, github (and others) issues tracker integration and gboards, so basically lets you work on your project only using IDE and Gitkraken without having to keep various tabs pinned on your browser and switch from one to another.

Collapse
 
nikhilroy2 profile image
Nikhil Chandra Roy

if you stuck anywhere just search on google. We are human not like a robot so we are a great animal who is always forgetting without practice.

Collapse
 
pj profile image
Paul Johnson

~10 years of working with git, pretty much only using the command line and at least once a month I have to google a command to do some random thing. It's not you it's just git.

Collapse
 
bassimsmile profile image
Bassim RAJI

I liked this 'It's not you, it's just git' I will quote it lol

 
bassimsmile profile image
Bassim RAJI

Well said bro

Collapse
 
chriscampbell96 profile image
Chris Campbell

I'm the same. Although, I just bookmark this and check it out when I need to remember something - education.github.com/git-cheat-she... 🍎

Collapse
 
bassimsmile profile image
Bassim RAJI

OH pretty good cheat, I'm stealing it ;)

Collapse
 
ephraimduncan profile image
Ephraim Duncan

No one remembers everything.