I have really strange output of "git branch". I type git branch in terminal and instead of getting the output of all branches in the terminal, I get the output in some file with the name of all branches opens and with "END" word in the end of this file. To exit I have to press q. How can I get the standard output of this command directly in the terminal?
Asked
Active
Viewed 86 times
1 Answers
-1
Use the following command to get a list of branches printed to your terminal
git branch --list | cat

jagannathbhat
- 113
- 1
- 5