Git

Git Helpers

Commands

Some useful commands :

  • git config credential.helper store : This command stores credentials indefinitely on disk for use by future Git programs. [Git Credential Store]
  • git branch | grep -v "develop" | xargs git branch -D : Remove all your local git branches except develop.
  • git last` : `git config --global alias.last 'log -1 HEAD' : See the last commit easily.

You can easily set up an alias for each command using git config. [Git Aliases]

Commits

Prefixes with emojis for commits :

  • boom: First Commit or MAJOR UPDATE
  • :bug: BUGFIX
  • :toilet: CLEANUP
  • :wrench: CONFIG
  • :green_book: DOC
  • :star2: FEATURE
  • :speech_balloon: LANGUAGE/TRANSLATION
  • :truck: MOVE folders, files
  • :zap: PERFORMANCE
  • :electric_plug: PLUG Front/Back
  • :sparkles: REFACTOR
  • :lock: SECURITY
  • :art: STYLE
  • :bookmark: TAG
  • :mushroom: UPGRADE
  • :construction: WIP

Ressources :

Articles :

Dev