Created
March 26, 2012 18:19
-
-
Save riotera/2208437 to your computer and use it in GitHub Desktop.
Comandi Git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Crea nuovo branch, fa il checkout e importa la branch remota: | |
git checkout -b test origin/test | |
-------------- | |
Resetta il repo ad un certo commit (elimina lo storico precedente e gli eventuali uncommit) | |
git reset --hard <hash> | |
-------------- | |
Per verificare i commit prima di fare un merge | |
git fetch | |
git log master..origin/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment