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フロー

Posted at

まずは何かファイルに変更を加えます。

//今いるブランチを確認(変更の内容を相応しいブランチに反映したい)
git branch

//ブランチを変更(変更する必要があれば)
git checkout ブランチ名

//ブランチを作成(作成する必要があれば)
git checkout -b ブランチ名

//変更を加えたファイルを確認
git status

//ブランチの内容に合った内容をgitに追加
git add フォルダ名/ファイル名

//変更展等記載しコミット
git commit -m "fixed date layout"

//リモートのブランチにプッシュ(github)
git push origin ブランチ名

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?