LoginSignup
1
1

More than 5 years have passed since last update.

git Githubのコミットの流れ

Posted at

Githubへのコミットの流れについて
1 ファイルをgitに追加(ステージングエリア)
git add .
(上記のドットは現在のディレクトリを示す)

このコマンドでコミット待ちの対象となる。このコミット待ちは以下の
コマンドで確認できる。
git status

2 1を保存する。
git commit -m "コミットメッセージ"

3 gitからGithubへ※
git push -u origin master

※githubに最初にpushする場合
git remote add origin https://github.com//

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