Skip to content

Instantly share code, notes, and snippets.

@xavbeta
Created March 13, 2017 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xavbeta/ca617cb07b1e78e26818f5fcdd3fd882 to your computer and use it in GitHub Desktop.
Save xavbeta/ca617cb07b1e78e26818f5fcdd3fd882 to your computer and use it in GitHub Desktop.
git init - inizializzare una repository locale
git status - stato della repository Git
git add - aggiungere modifiche
git commit [-m <commit txt>]- registra un nuovo commit
git diff - mostrare le differenze rispetto all'ultimo commit
git checkout <hash> - spostarsi allo stato del commit specificato
git push - inviare modifiche ad un'altra repo
git pull - ricevere modifiche da un'altra repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment