41
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 20 Jun 2023
41 points (100.0% liked)
Programming
13405 readers
1 users here now
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
If you have trouble remembering git commands for CLI have a look at the tool
tldr
:https://man.archlinux.org/man/tldr.1.en
For example if you need to remember how to use the
branch
command you could look it up withtldr git branch
which would give you an overview on the most popular use cases.
And in case you don't already know: You may want to use the history search tool of your shell by hitting CTRL-r and then for example typing
branch
. You'd get a list of past commands you have used containingbranch
that you can flip through by repeatedly hitting CTRL-r.