I would like to export output of git command git branch -a in a text file.
CodePudding user response:
Just do:
git branch -a > result.txt

I would like to export output of git command git branch -a in a text file.
CodePudding user response:
Just do:
git branch -a > result.txt