0
0

[Git] ローカルからリモートにプッシュする手順

Posted at

1. 最新のリモートの情報を取得する

git fetch -p

2. 変更ファイルを確認する

git status

3. ステージングにファイルを追加する

git add <ファイル名>

4. 追加したファイルが正しいか確認する

git status

5. コミットする

git commit -m "コミットメッセージ"

6. コミットされているか確認

git log

7. プッシュする

git push orgin <ブランチ名>
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