syedsibtain
Thu May 04 2023
When we have conflicts between main
and production
, we cannot open PR directly. We do the following:
git fetch
and then go to production ->git checkout production
- Create a new branch from
production
->git checkout -b <branchname>
- Pull latest changes from
main
->git pull origin main
orgit merge main
- Resolve conflicts
- Push the changes and create a pull request with base branch as
production
- And chill :slightly_smiling_face: