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?

【Git】自分用メモ(随時更新)

Posted at

GitHubでのIssue対応についての自分用メモ。


1. 作業ブランチの作成

ローカル環境で、mainブランチから作業ブランチを作成。

git checkout main
git pull origin main  # 最新状態を取得
git checkout -b feature  # 作業ブランチ名はチーム方針に従う

2. 修正完了後

修正完了後は以下を実施してpushする

git status # 変更箇所確認
git diff # 差分確認
git add -A # 全ての変更をステージングエリアに追加
git commit -m  "Issue対応: コメント内容"  #コミット
git push origin HEAD #push

3. Pull Requestの作成

プルリクエスト時のコメント等はチーム方針に従う。

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?