0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Git + GitHubの使い方(備忘録)

Last updated at Posted at 2025-07-27

1.リポジトリの新規作成

リポジトリを新規作成する

image.png

リポジトリ名を決める

image.png

公開・非公開を決める

image.png

リポジトリを作成する

image.png

リポジトリ新規作成のイメージ

image.png

2.ローカルにリポジトリをクローンする

HTTPSを選択して、リンクをコピー

image.png

ターミナルで実行

git clone コマンドを実行する。
image.png

image.png

リポジトリがクローンされる

image.png

### git clone のイメージ
image.png

3.ステージング

ファイルを新規作成

image.png

git status(ステージング前)

image.png

git add(ステージング)

image.png

git status(ステージング後)

image.png

ステージングのイメージ

image.png

3.コミット

git commit

image.png

コミットのイメージ

image.png

4.リモートリポジトリに反映

git push

image.png

GitHubの確認

image.png

git pushのイメージ

image.png

【参考】
https://youtu.be/LDOR5HfI_sQ?si=HcglTi2upEbsdQMB
0:00 ~ 15:00

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?