LoginSignup
0
1

More than 5 years have passed since last update.

Gitの操作一覧

Last updated at Posted at 2018-03-19

●リポジトリを作成し、Gitのバージョン管理下に置く時

1、目的のフォルダに移動

2、リポジトリを作成$ git init

3、ステージ$ git add .

4、コミット$ git commit -m 'init'

●更新する時
git diff
git add .
git commit

まとめ

 git init フォルダ内にリポジトリを作成
 git add ファイル名 ファイルを選択してステージさせる
 git commit コミットする git commit -m 'message'
 git status  状況を確認
 git diff 差分を表示する
 git log 過去のコミット履歴

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1