Anotaciones curso GIT

  • git init
  • git add
  • .gitignore
  • git diff [–staged][–cached]
  • git commit [-m «mensaje»][-a][–ammend]
  • git config –global core.editor
    • git config –global alias.unstage 'reset HEAD ~'
    • git config –global alias.last 'log -1 HEAD'
  • git rm [-f][–cached]
  • git mv
  • git log [-p][-2][–stat][–pretty][–online][-n][–since][–until][–author][–all-match][-S]
    • online, short, full, fuller, format
  • !! git reset HEAD <file> [–hard]
  • !! git checkout – <file>
  • git remote [add][show][rename][rm]
  • git fetch
  • git pull
  • git push [–tags]
  • git tag [-l][-a][-m]
    • anotadas, ligeras
  • git show
  • patrones glob → regexp simplificada
  • tech/git/curs.txt
  • Darrera modificació: 17/05/2023 06:07
  • per mate