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?

More than 3 years have passed since last update.

gitコマンド一覧備忘録

Last updated at Posted at 2019-04-14

#gitコマンド一覧

#ディレクトリ以下のファイルを保存
$ git add .

#※cherrypick今後編集予定

#どこにいるか関係なくすべてのファイルを保存
$ git add -A

#gitを保存する
$ git commit -m "コミットメッセージ"

#ブランチを切る
git checkout -b ブランチ名

#ローカルブランチをリモートにプッシュする
git push origin プッシュするブランチ名

新しいブランチを切る
git checkout origin/develop -b feature/12345

リモートブランチからpulする(getch merge版)
git fetch origin
git merge origin/プルしたいブランチ名

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?