Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Про git

Про git

Benjamin Tambourine

November 16, 2015
Tweet

More Decks by Benjamin Tambourine

Other Decks in Technology

Transcript

  1. Источники • Git Magic by Benn Lynn • Git for

    Ages 4 and Up by Michael Schwern • Pro Git by Scott Chacon • Git — ветки, деревья, лес от Сергея Сергеева
  2. ›❯ git checkout master
 ›❯ git cherry-pick dev^
 ›❯ git

    cherry-pick dev
 ›❯ git reset --hard HEAD dev
  3. ›❯ git checkout master
 ›❯ git cherry-pick dev^
 ›❯ git

    cherry-pick dev
 ›❯ git reset --hard HEAD dev
  4. ›❯ git checkout master
 ›❯ git cherry-pick dev^
 ›❯ git

    cherry-pick dev
 ›❯ git reset --hard HEAD dev