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

Git Workshop 01

Li-Hsuan Chen
September 22, 2016

Git Workshop 01

Li-Hsuan Chen

September 22, 2016
Tweet

More Decks by Li-Hsuan Chen

Other Decks in Programming

Transcript

  1. 䧮涸匢䱾竤娜 㷸欰 儘劍 〵⚥ 厥䱺呪Ⱇ぀ 倞ⶾ" 倞ⶾ# 僱宐㛔 /PX 搂

    47/ 5'7$ (JU 㷸绢(JU (JU 㼬Ⰵ(JU 㼬Ⰵ崩玑 ⾲47/ 㼬Ⰵ(JU 㼬Ⰵ崩玑 (JU
  2. 倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt

    $ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
  3. 倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt

    $ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
  4. 倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt

    $ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
  5. 倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt

    $ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
  6. (JU涸♲⦐ꥣ媯 $ touch a.txt 8PSLJOH%JSFDUPSZ 䊨⡲湡ꏗ 4UBHF *OEFY  程䒸⼦

    -PDBM3FQPTJUPSZ 劥㖒⮭㶸䏨 劢鄄鷆髠涸墂呪 佞㖈TUBHF涸墂呪 䩞〳⟃鄄⸈Ⰵ晝劥䱾ⵖ 鄄晝劥䱾ⵖ涸墂呪
  7. 倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt

    $ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
  8. 倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt

    $ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
  9. 倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init $ touch a.txt

    $ git add a.txt $ git commit -m “add a.txt” ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓
  10. 倞䒊隶刿鎹ꏗ $ cd /to/your/path $ git init ⴲ㨥⻋HJU⮭㶸䏨 $ touch

    a.txt 㖈䊨⡲湡ꏗ倞㟞BUYU $ git add a.txt 䪾BUYU⸈ⰅTUBHF $ git commit -m “add a.txt” 䪾隶刿⸈Ⰵ晝劥䱾ⵖ ⯓⹛䩛⨞⨞溏 ⨞㸤䖕欽4PVSDF5SFF溏溏䧭卓