git, display the current branch #81
-
Beta Was this translation helpful? Give feedback.
Answered by
isc-tleavitt
Dec 1, 2021
Replies: 1 comment
-
@antyang26, I think one possible issue is the use of single quotes (rather than double quotes) on the export PS1... line at the end. If changing that doesn't fix it, I'd try another solution like https://coderwall.com/p/fasnya/add-git-branch-name-to-bash-prompt . Also, generally, there are probably better places than this to get answers to generic git questions. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
isc-tleavitt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@antyang26, I think one possible issue is the use of single quotes (rather than double quotes) on the export PS1... line at the end. If changing that doesn't fix it, I'd try another solution like https://coderwall.com/p/fasnya/add-git-branch-name-to-bash-prompt .
Also, generally, there are probably better places than this to get answers to generic git questions.