User Tools

Site Tools


get:setting_up_aliases_for_common_commands

shortcuts

git config --global alias.<shortcut> <commande>
// ex :
git config --global alias.st status
// on utilise des " s'il existe un espace dans la commande

shortcuts courants

  • co → checkout
  • ci → commit
  • br → branch
  • df → diff
  • dfs → diff –staged

autre exemple :

  • logg → log –graph –decorate –oneline –abbrev-commit –all
get/setting_up_aliases_for_common_commands.txt · Last modified: 2016/05/02 17:19 by leo