0
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コマンドを共有します。無意識のうちにできれば、あなたはgit中級者以上です!

では、共有します。

①サーバーから最新版を取得

git fetch
git pull

②ローカルの差分確認

git status

③ローカルのファイルをコミット対象に追加

git add .

④ローカルでコミット

git commit

⑤サーバーへプッシュ

git push -u origin master

※Masterブランチに直接Pushするいうのは、複数人で作業する時は、基本ないと思うので、その場合は、devブランチ等へpushします

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