DEV Community

Kenji Suzuki
Kenji Suzuki

Posted on

Rebase and Always Take the Upstream Version

git rebase main
git checkout --theirs {path}
git add .
git rebase --continue
Enter fullscreen mode Exit fullscreen mode

Top comments (0)