12
nibor
5d

Annoying git cli inconsistencies:

git branch --list
git stash list

Lost count of the times I have entered

git branch list

Comments
  • 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.
  • 1
    git add

    git rm

    🤦‍♂️🤦‍♂️🤦‍♂️
  • 3
    Laughing in java -version
  • 1
    Also laughing in user agents
  • 4
    CLI + git = clit?
  • 1
Add Comment