Re:Git Command Explorer
by mid-kid on Saturday October 16, 2021 @02:44PM
(#28890301)
"man git", second paragraph.
[ Parent
| on HN ]
> 'man' is not recognized as an internal or external command, operable program or batch file.
...which doesn't exist on Windows. So, are Windows git users are all doomed? Or should all Windows users download WSL in order to access this sacred tutorial?
Re:Git Command Explorer
by cloakedcode on Saturday October 16, 2021 @09:57PM
(#28893319)
That’s fair. What environment do you have that installed git at the command line? I’m assuming ‘git’ is a recognized command.
This is the normal state of affairs after running the git installer from git-scm.com
I’ve attempted to find a way to install man in git bash, but haven’t found a simple way to do so
> Or should all Windows users download WSL
In general, yes. That would make all our lives a lot easier. Not just in relation to git, but because everyone works off the same base then.
Having recently switched to Git on Windows, you miss out on these great resources.
Thankfully with all the Git information floating around it's easy enough to find answers.
One such page is this one containing three good tips
https://spin.atomicobject.com/2020/05/05/git-configurations-...
try "man git" in your favorite search engine.
And if your favorite search engine is DuckDuckGo you can search "!man git"
Even as a Linux user I prefer online man pages for easier navigation.
Terminals generally have decent mouse support don't they? Maybe we ought to trick out a man reader.
I never bothered typing 'man git' because git offers the 'git help' workflow quite prominently with with quite satisfying results. 'git help everyday' even works, it just doesn't seem to be called out anywhere.