Help us understand the problem. What is going on with this article?

Git(ターミナル編)について

背景

ターミナルでのGit操作方法を記してみた。

手順

※最初に、brew install gitでGitをインストールしておく。

1.git initを実行する。
(Gitを使う準備)

2.git add ファイル名
(共有したいファイルを選択する)

3.git commit -m “メッセージ “
(記録をコミットする)

4.git remote add origin リモートのURL
(リモートのURLを登録)
※一回やれば良い※

5.git push origin master
(リモートにファイルをアップロード)

6.git pull origin master
(リモートのファイルをダウンロード)

$ git init

$ git add .                              # 「.」で全ファイルを選択できる

$ git commit -m initial message

$ git remote add origin リモートのURL

$ git push origin master

$ git pull origin master

ren0826jam
プログラミング歴数ヶ月の初心者ですが、よろしくお願いします。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした