Hacker News new | past | comments | ask | show | jobs | submit login

If you're curious, "git remote", "git branch", and "git tag" all present a list without supplying those options. You only need "git branch -a" if you want to see remote branches.

"git stash" is certainly the outlier; the reason is that when "git stash" was first added it was meant to be a short-and-sweet command. Otherwise, you'd be forced to type "git stash save <name>", which is not so short and sweet. "git stash list" was added later.




remote branches can also be achieved with one flag by using `-r` ( git branch -r ). Neat note about the reasoning behind stash.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: