1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

gitの使い方(初心者)

Last updated at Posted at 2019-11-23
  1. git init:ローカルリポジトリ作成

  2. git add .:インデックスにディレクトリを一時保存。(インデックスとは、リポジトリにコミットする
    準備をするために変更内容を一時的に保存する場所のこと。)

  3. git commit -m "~":ローカルリポジトリに追加や変更を記録する
     (git commit -am "~":addとcommitを同時に行う)

  4. リモートリポジトリに反映させるために、リモートリポジトリの情報を追加
    git remote add origin https://github.com//awesome.git:こんな感じのやつ

  5. git push origin master:ローカルリポジトリをリモートリポジトリにプッシュ!!

1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?