I would like to manage a project across multiple remote git repositories, specifically, a public github repository and my own private repositories. Fortunately, git supports as many remote repositories as you need. When you clone a repository, there will be a default remote called “origin”, i.e., Adding additional remotes is trivial, i.e., Now, when we […]
git
git, obliterate specific commits
I would like to obliterate a series of git commits between two points, we’ll call these the START and END commits. First, determine the SHA1 for the two commits, we’ll be forcefully deleting everything in between and preserving the END exactly as it is. Detach Head Detach head and move to END commit, git checkout […]