"git branch -a" breaks my shell if I use it on a repository with many branches. Works one time. Next time result is:
git branch -a
-bash: /usr/bin/sed: Argument list too long
-bash: /usr/bin/ruby: Argument list too long
-bash: /usr/bin/git: Argument list too long
-bash: /usr/bin/sed: Argument list too long
Complete test:
git branch -a
[1] my-branch
[2] your-branch
...
[6735] some other branch
git branch -a
-bash: /usr/bin/sed: Argument list too long
-bash: /usr/bin/ruby: Argument list too long
-bash: /usr/bin/git: Argument list too long
-bash: /usr/bin/sed: Argument list too long
git status
-bash: /usr/bin/git: Argument list too long
"git branch -a" breaks my shell if I use it on a repository with many branches. Works one time. Next time result is: git branch -a -bash: /usr/bin/sed: Argument list too long -bash: /usr/bin/ruby: Argument list too long -bash: /usr/bin/git: Argument list too long -bash: /usr/bin/sed: Argument list too long
Complete test: