Git: Inserting a commit below root?
-
(If a mod has a better idea of where to move this question then by all means move it. I figure this forum is the closest match due to the increased odds that a professional C/C++ programmer would know about Git) I am trying to insert a commit below the current initial-commit in a git repository. This is a local project/repository that isn't being shared, so my evil intentions won't affect others :P The closest i've gotten was following the instructions here: http://stackoverflow.com/questions/645450/git-how-to-insert-a-commit-as-the-first-shifting-all-the-others[^] Unfortunately those instructions discard all branches coming off of master, which i don't want to happen.
-
(If a mod has a better idea of where to move this question then by all means move it. I figure this forum is the closest match due to the increased odds that a professional C/C++ programmer would know about Git) I am trying to insert a commit below the current initial-commit in a git repository. This is a local project/repository that isn't being shared, so my evil intentions won't affect others :P The closest i've gotten was following the instructions here: http://stackoverflow.com/questions/645450/git-how-to-insert-a-commit-as-the-first-shifting-all-the-others[^] Unfortunately those instructions discard all branches coming off of master, which i don't want to happen.
This is a C++ forum and has no relation to GIT whatsoever. So you will need to find a GIT forum youself. Here is a starting step - GIT Forums[^]
«_Superman_» _I love work. It gives me something to do between weekends.