I found it helpful to modify my bash prompt to include the git branch.

https://coderwall.com/p/fasnya/add-git-branch-name-to-bash-prompt

Chris

On Tue, Jun 13, 2017 at 1:07 PM, Edward K. Ream <[email protected]> wrote:

> On Tue, Jun 13, 2017 at 2:52 PM, Terry Brown <[email protected]>
> wrote:
>
>> In bash (Unix or Windows, if you use git bash in Windows), you can do
>> this:
>> https://git-scm.com/book/uz/v2/Git-in-Other-Environments-Git-in-Bash
>>
>> to get the current branch named in the prompt (the first part is about
>> git aware tab completion, then comes the prompt part).
>>
>
> ​I have a gb command that tells me the branch.  But do I use it? More to
> the point, do I remember it? Would I notice a branch prompt? It's one more
> piece of state to keep track of.
>
> Edward
>
> --
> You received this message because you are subscribed to the Google Groups
> "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to