Skip to main content

First, don't think about discarding your changes. You will lose opportunities to learn the merge process.

Second, find a person who worked on the files causing conflict. You can see the history. Talk to the person and resolve conflicts in those files. Do the same for other conflicts.

If there are too many conflicts, your task may be a minor one, but repetitive. Try to find a pattern. This would help in resolving conflicts by the Git UI client tools. I use TortoiseGit. It helps in merge.

And for avoiding in the future,

-it's a very good practice to merge the develop branch regularly to your feature branch.

-If you have CI enabled, see if the CI tool provides a branch build. This should build on every check in you make in your feature branch, but after the merge develop branch.

  • It's a very good practice to merge the develop branch regularly to your feature branch.

  • If you have CI enabled, see if the CI tool provides a branch build. This should build on every check in you make in your feature branch, but after the merge develop branch.

First, don't think about discarding your changes. You will lose opportunities to learn the merge process.

Second, find a person who worked on files causing conflict. You can see the history. Talk to the person and resolve conflicts in those files. Do the same for other conflicts.

If there are too many conflicts, your task may be a minor one, but repetitive. Try to find a pattern. This would help in resolving conflicts by the Git UI client tools. I use TortoiseGit. It helps in merge.

And for avoiding in the future,

-it's a very good practice to merge the develop branch regularly to your feature branch.

-If you have CI enabled, see if the CI tool provides a branch build. This should build on every check in you make in your feature branch, but after the merge develop branch.

First, don't think about discarding your changes. You will lose opportunities to learn the merge process.

Second, find a person who worked on the files causing conflict. You can see the history. Talk to the person and resolve conflicts in those files. Do the same for other conflicts.

If there are too many conflicts, your task may be a minor one, but repetitive. Try to find a pattern. This would help in resolving conflicts by the Git UI client tools. I use TortoiseGit. It helps in merge.

And for avoiding in the future,

  • It's a very good practice to merge the develop branch regularly to your feature branch.

  • If you have CI enabled, see if the CI tool provides a branch build. This should build on every check in you make in your feature branch, but after the merge develop branch.

Copy edited (e.g. ref. <https://en.wiktionary.org/wiki/lose#Usage_notes>).
Source Link

First, don't think about discarding your changes. You will looselose opportunities to learn the merge process.

Second, find a person who worked on files causing conflict. You can see the history. Talk to the person and resolve conflicts in thatthose files. Do the same for other conflicts.

If it'sthere are too many conflicts, your task may be a minor one, but repetitive. Try to find a pattern. This would help in resolving conflicts by gitthe Git UI client tools. I use TortoiseGit. It helps in merge.

And for avoiding in the future,

-it's a very good practice to merge the develop branch regularly to your feature branch.

-If you have CI enabled, see if the CI tool provideprovides a branch build. This should build on every check in you make in your feature branch, but after the merge develop branch.

First, don't think about discarding your changes. You will loose opportunities to learn merge process.

Second, find person who worked on files causing conflict. You can see history. Talk to person and resolve conflicts in that files. Do same for other conflicts.

If it's too many conflicts, your task may be a minor but repetitive. Try to find pattern. This would help in resolving conflicts by git UI client tools. I use TortoiseGit. It helps in merge.

And for avoiding in future,

-it's a very good practice to merge develop branch regularly to your feature branch.

-If you have CI enabled, see if CI tool provide branch build. This should build on every check in you make in your feature branch but after merge develop branch.

First, don't think about discarding your changes. You will lose opportunities to learn the merge process.

Second, find a person who worked on files causing conflict. You can see the history. Talk to the person and resolve conflicts in those files. Do the same for other conflicts.

If there are too many conflicts, your task may be a minor one, but repetitive. Try to find a pattern. This would help in resolving conflicts by the Git UI client tools. I use TortoiseGit. It helps in merge.

And for avoiding in the future,

-it's a very good practice to merge the develop branch regularly to your feature branch.

-If you have CI enabled, see if the CI tool provides a branch build. This should build on every check in you make in your feature branch, but after the merge develop branch.

Source Link
PKV
  • 181
  • 1
  • 4

First, don't think about discarding your changes. You will loose opportunities to learn merge process.

Second, find person who worked on files causing conflict. You can see history. Talk to person and resolve conflicts in that files. Do same for other conflicts.

If it's too many conflicts, your task may be a minor but repetitive. Try to find pattern. This would help in resolving conflicts by git UI client tools. I use TortoiseGit. It helps in merge.

And for avoiding in future,

-it's a very good practice to merge develop branch regularly to your feature branch.

-If you have CI enabled, see if CI tool provide branch build. This should build on every check in you make in your feature branch but after merge develop branch.