git-extras 253 B

123456789101112131415
  1. #!/bin/bash
  2. set -o errexit -o pipefail
  3. gimme git
  4. has git-alias || gimme_pkg git-extras
  5. if ! [[ "$(git alias)" ]]; then
  6. git alias br branch
  7. git alias ci commit
  8. git alias co checkout
  9. git alias di diff
  10. git alias st status
  11. git alias sw switch
  12. fi