How can I move my commits to another repository and avoid merge conflicts?

This page summarizes the projects mentioned and recommended in the original post on /r/git

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • dotfiles

    vim, zsh, git, homebrew, neovim - my whole world (by nicknisi)

    Sometime ago I downloaded this repository and initiated a new git repository in the downloaded folder. Then I started adding my own commits, but now I'm missing the git blame from the old commits. So I want either to move my commits from my repository to the other repository but discarding the commits made after any of my commits. Or the other way around, importing the commits from the other repository to mine but only for the old commits made before my first commit. How can I do this? Would I have to manually resolve merge conflicts or can it be avoided?

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts