Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Git: Inserting a commit below root?

Git: Inserting a commit below root?

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++comcollaborationregex
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FocusedWolf
    wrote on last edited by
    #1

    (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.

    _ 1 Reply Last reply
    0
    • F FocusedWolf

      (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.

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      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.

      _Microsoft MVP (Visual C++)

      Polymorphism in C

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups