-
Notifications
You must be signed in to change notification settings - Fork 2.7k
git-bash: document the Windows initiator program #2357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Git-for-Windows provides analmost fully fledged Git operating on the Windows OS despite some differences in OS operating philosophies. The git-bash.exe programme provides a set of initiator options and estabilished a terminal window into which to enter git and bash commands. Tell the Windows user how it all works. Signed-off-by: Philip Oakley <philipoakley@iee.email>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also strongly recommend to move this into MINGW-packages
instead. It does not make sense in the git
repository, as the source code for git-bash..exe
does not live here.
|
||
NAME | ||
---- | ||
git-bash - A Windows initialiser for the bash window on that OS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure that "initialiser" is a good term. Maybe git-bash - Starts an interactive Bash in a new terminal window
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure that "initialiser" is a good term.
The whole document was very much an initial (near empty) draft with content stolen from another page for simplicity, hence the remnants.
It's there to catch suggestions, rather than be even a good draft - there are still lots of bits that are behind that green curtain of ignorance..
Thanks for the comments and feedback.
SYNOPSIS | ||
-------- | ||
|
||
git-bash [--cd-to-home] [--xx] [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fairly sure that --xx
is not a valid option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure what the valid options are...
----------- | ||
|
||
The `git-bash.exe` provides a windows run time executable that takes in a | ||
few parameter and then starts (typically) the mintty terminal window |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's with the funny indentation?
levels of redirection and misdirection so that it all 'just works' | ||
despite severe incompatibilities in operating philosphy.. | ||
|
||
include::glossary-content.txt[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it would be a good idea to include the glossary here.
-------- | ||
|
||
C:\git-sdk-64\usr\src\MINGW-packages\mingw-w64-git\git-bash.rc | ||
describe this (and the .rc extension) for basic windows users. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's not a "SEE ALSO". That would need to go into a chapter above, something like "Technical Details".
C:\git-sdk-64\usr\src\MINGW-packages\mingw-w64-git\git-bash.rc | ||
describe this (and the .rc extension) for basic windows users. | ||
|
||
C:\git-sdk-64\usr\src\MINGW-packages\mingw-w64-git\compat-bash.rc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That has nothing to do with git-bash.exe
. Those are the resources to be used for <Git>\bin\bash.exe
.
C:\git-sdk-64\usr\src\MINGW-packages\mingw-w64-git\compat-bash.rc | ||
|
||
|
||
C:\git-sdk-64\usr\src\git\contrib\mw-to-git\bin-wrapper\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MediaWiki to Git? What does that have to do with git-bash.exe
?
various wrappers to describe. | ||
|
||
|
||
https://github.com/git-for-windows/git/issues/1674 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That should not go into the text, but into the commit message.
My main issue here was that of discoverability sticking it over there, out of the way, I don't think will make it useful. I might not be great in the The transition from Windows to the Linux world is not that easy for many users (even getting some to be happy with touching the cli..), hence the desire to find a way of providing 'on-ramps' that feel familiar. For example I don't know how to get a man page from the regular install. Thought. Maybe we need a |
Well, opening a PR sends a pretty strong signal "I am doing this". And if you are already doing this, opening a PR in the correct spot is quite a bit more helpful than in the wrong spot 😄
You basically want That's what I suggested: move the
That should be it already. You should be able to verify that everything worked as expected if the resulting But once that works, it is time to actually figure out from You should then also document that any unrecognized command-line option will make |
I maybe should have added some label for "Needs help" 😉 We can get the right document to the right place once we've got some content (a big thank you for the pointers), and a common view of the finding/reading route. |
Actually, I don't think that helps at all. Since you opened this PR, it is clear that nobody can work on this without stumbling over your feet.
We could also move it into the correct spot and then you could work on the content. |
In this case, the PR was simply an initial notification that 'something needed to be done' by/with the community. It was not "I am doing this". I'll close it. |
Git-for-Windows provides analmost fully fledged Git operating on the
Windows OS despite some differences in OS operating philosophies.
The git-bash.exe programme provides a set of initiator options and
estabilished a terminal window into which to enter git and bash commands.
Tell the Windows user how it all works.
Signed-off-by: Philip Oakley philipoakley@iee.email
This starts the ball rolling for #1674
code
review comments on thesomething like this: It is located in repo ..
style.