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

Git入門

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

 Git入門

Avatar for Kyohei Mizumoto

Kyohei Mizumoto

October 10, 2018

More Decks by Kyohei Mizumoto

Other Decks in Technology

Transcript

  1. 2019/3/28 Git⼊⾨ 127.0.0.1:5500/index.html#8 12/30 git add ファイルをバージョン管理対象として追加する $ echo sample

    > sample.txt $ git add sample.txt 全ファイルを追加したい場合 $ git add . 12 / 30
  2. 2019/3/28 Git⼊⾨ 127.0.0.1:5500/index.html#8 20/30 git remote リモートリポジトリの操作を⾏う # リモートリポジトリを追加 $

    git remote add origin [リポジトリのパス] # 登録されているリモートリポジトリの確認 $ git remote -v origin https://github.com/Kyohei-M/sample.git (fetch) origin https://github.com/Kyohei-M/sample.git (push) 20 / 30