LoginSignup
0
0

More than 1 year has passed since last update.

gitコンフリクトの対処

Last updated at Posted at 2021-08-24

コンフリクトが起きた際の対処方法

状態を確認

git status

方法1 マージをしないで前の状態に戻す

git merge --abort

方法2 修正内容を取り込んで解決

1,発生したファイルを開く
2,ファイルを修正
3,git add
4,git commit
5,git logでマージされてるか確認
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