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 1 year has passed since last update.

gitプルリクエスト前ガイド(自分用)

Last updated at Posted at 2023-05-17

gitの動かし方(上から順に行う)

git branch <作成ブランチ名>(featureブランチのようなもの)

git checkout <作成ブランチ名>

作業を行う(featureブランチ内で)

[一度起こしたミス(cd確認漏れ)カレントディレクトリ内を変更することを意識]

git add .
// 現在のディレクトリのすべてのファイルをインデックスに追加

git commit -m '<変更内容を記載する>'

git checkout

git pull
//更新をかけてローカル環境に反映させる

git checkout <作成したブランチ名>

git push -u origin HEAD
または
git push -u origin <作成したブランチ名>

//以前にpushしたことのあるブランチを再度pushする際、強制プッシュで対応が必要だった git push -f origin HEAD または <作成ブランチ名>

backlogでプルリクエスト作成

記載>担当者を選択確認の依頼を行う

merge(担当者からマージ)されたら...

git checkout

git pull

git branch -d <作成したブランチ>
作成ブランチの削除

一区切り

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?