Reputation: 79
I would like to export output of git command git branch -a in a text file.
git branch -a
Upvotes: 0
Views: 874
Reputation: 4758
Just do:
git branch -a > result.txt
Upvotes: 1