Say I pull the mainline of a repo, make some changes, added one commit my_commit. At the same time, someone else pushed someone_commit to remote mainline. Now if I want to push, if I do git pull, there will be conflicts and I have to add a merge commit. Is there a way I could achieve something like previous_commits->someone_commit->my_commit instead of `
previous_commits->someone_commit -> merge commits of ... ->my_commit ->