General overview of your idea.
In the "A1.6 Git in Bash· chapter, it points you to a git-prompt.sh file in the git repository, but it doesn't provide any links. I had to go thru a bit of googling to find the file in question.
I think it would be useful to provide at the very least a link to the repository, or even directly to the file, or both. Tu turn this paragraph:
To add these to your prompt, just copy the contrib/completion/git-prompt.sh file from Git’s source repository to your home directory, add something like this to your .bashrc:
Into this:
To add these to your prompt, just copy the contrib/completion/git-prompt.sh file from Git’s source repository to your home directory, add something like this to your .bashrc:
Could even add a code snippet right after to curl the file into the right location:
curl -o ~/git-prompt.sh https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
If you think it's a good idea I can create a pull request implementing the change.
What problem will this solve?
Making the experience of setting up a bash git prompt more straightforward
Have you thought about other solutions?
No response
Do you want to help with this enhancement idea?
Yes
General overview of your idea.
In the "A1.6 Git in Bash· chapter, it points you to a
git-prompt.shfile in the git repository, but it doesn't provide any links. I had to go thru a bit of googling to find the file in question.I think it would be useful to provide at the very least a link to the repository, or even directly to the file, or both. Tu turn this paragraph:
Into this:
Could even add a code snippet right after to curl the file into the right location:
If you think it's a good idea I can create a pull request implementing the change.
What problem will this solve?
Making the experience of setting up a bash git prompt more straightforward
Have you thought about other solutions?
No response
Do you want to help with this enhancement idea?
Yes