Skip to content

Overcoming git conflicts #282

Pinned Answered by AndreasAugustin
mikematos84 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mikematos84
one way of solving those conflicts is to pull them to a local machine

git fetch
git checkout <branch_pr_source_name>

locally you can use an IDE or any text editor to fix the conflicts. After the conflicts are fixed, commit the changes and push them to the branch

# pro hint: sign commits with -S option https://dev.to/andreasaugustin/git-how-and-why-to-sign-commits-35dn
git commit <-S>
git push

Remark:
If there are issues with files you do not want to change, add them into a .templatesyncignore file located within the root or .github/ folder of the repository.

I hope I understood the question and the proposed solution helps a bit.

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
7 replies
@mikematos84
Comment options

@AndreasAugustin
Comment options

@shubov
Comment options

@AndreasAugustin
Comment options

@shubov
Comment options

Answer selected by AndreasAugustin
Comment options

You must be logged in to vote
3 replies
@AndreasAugustin
Comment options

@JessicaS11
Comment options

@AndreasAugustin
Comment options

Comment options

You must be logged in to vote
2 replies
@AndreasAugustin
Comment options

@mrwsl
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
5 participants