Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
dev:git [2022/04/26 15:06]
tomas
dev:git [2022/09/30 12:21]
tomas [Prace s kodem, schvalovani zmen, historie]
Line 48: Line 48:
 git log -p ... ukaze historii i se zmenama\\ git log -p ... ukaze historii i se zmenama\\
 git log --stat ... ukaze jen statistiky zmen\\ git log --stat ... ukaze jen statistiky zmen\\
 +git log --oneline -5 --author lipensky --before "Fri Mar 26 2009" ... filtr pro log\\
 git show ... ukaze posledni zmeny\\ git show ... ukaze posledni zmeny\\
 git diff ... porovna zmeneny soubor oproti puvodnimu (z git lokalnih repozitare)\\ git diff ... porovna zmeneny soubor oproti puvodnimu (z git lokalnih repozitare)\\
Line 58: Line 59:
 git reset ... pozor, muze byt nebezpecne, ztrata zmen\\ git reset ... pozor, muze byt nebezpecne, ztrata zmen\\
 git gc ... garbage collection\\ git gc ... garbage collection\\
 +
 ====Tagy==== ====Tagy====
 Vice info: [[https://git-scm.com/book/en/v1/Git-Basics-Tagging]] Vice info: [[https://git-scm.com/book/en/v1/Git-Basics-Tagging]]
Line 82: Line 84:
 git branch ... seznam vetvi, ukaze aktualni\\ git branch ... seznam vetvi, ukaze aktualni\\
 git checkout -b hotfix1 origin/hotfix1 ... vytvori novou lokalni vetev - kopii vzdalene vetve hotfig1\\ git checkout -b hotfix1 origin/hotfix1 ... vytvori novou lokalni vetev - kopii vzdalene vetve hotfig1\\
 +
 +====git vnitrnosti====
 +git count-objects -v ... statistiky objektu\\
  
 ====git flow==== ====git flow====