Annoying git cli inconsistencies:

git branch --list
git stash list

Lost count of the times I have entered

git branch list

  • 0
    I remember it this way in my head:

    git stash changes your working tree by being something of a "cut" feature of a clipboard, so "list" is a seperate action.

    git branch already lists your current branch, so to list branches, you just change the list mode, thus, "--list" is an option.
  • 6
    Just use `git branch` without arguments.
  • 4
    Laughing in java -version
  • 1
    Also laughing in user agents
  • 6
    CLI + git = clit?
  • 1
Add Comment