Hgit

695 views

Published on

short

Published in: Education, Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
695
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Hgit

  1. 1. Hg vs. Git
  2. 2. Hg vs. Git
  3. 3. VCS (git)
  4. 4. VCS (git)
  5. 5. inithg init $dirgit init $dir
  6. 6. Termsworking dirrepository
  7. 7. Terms working dir(.../projectname)repository (/.hg)
  8. 8. Termsworking dir (treasure) repository (dragon)
  9. 9. Termschangeset revision
  10. 10. Termsatomic change revision
  11. 11. Termsregex (s/ / /) revision
  12. 12. Changeset ID (SHA1) regex (s/ / /)author (Name, Mail) date (auto) parents (2!!)
  13. 13. Changeset ID (SHA1) regex (s/ / /)author (Name, Mail) date (auto) parents (2!!)
  14. 14. Termsparentchild
  15. 15. Terms(tail)HEAD
  16. 16. Terms tipHEAD
  17. 17. Terms tip tag
  18. 18. Terms (git) index staging
  19. 19. Terms (git) branch merge
  20. 20. Terms (git) branchmerge (merge $name)
  21. 21. Terms (git) branchmerge (commit -m)
  22. 22. Configs .gitignore .hgignore /.hg/hgrc/.git/config
  23. 23. Config Gitgit config –global category.key value
  24. 24. Hg[ui]username = Herbert Breunung … <lichtkind@cpan.org>verbose = Truemerge = meldeditor = kephra[alias]cm = ci -A -m
  25. 25. Git[user] name = Lichtkind email = <lichtkind@cpan.org>[core] editor = kephra repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true
  26. 26. Git[color] Branch = auto diff = auto interactive = auto status = auto[alias] ci = commit -a -m
  27. 27. Reverthg revert -r -1 –all # -agit revert HEAD~1 # HEAD^
  28. 28. Reverthg rollbackgit revert HEAD~1 # HEAD^
  29. 29. Hg vs. Git
  30. 30. Partiallygit add -patch
  31. 31. Interactivegit add git-*.sh
  32. 32. VCIVCIVCI::UtilVCI::VCS::CvsVCI::VCS::SvnVCI::VCS::GitVCI::VCS::HgVCI::VCS::Bzr
  33. 33. Tailorhttp://progetti.arstecnica.it/tailor
  34. 34. Hg vs. Git Language  vs  Syntax
  35. 35. Hg vs. Git no catfightSide by side comparsionOf features and syntax

×