git - Branch from *part* of main code, how to keep it up to date? -
was little bit difficult formulate title question since kind of abstract...
let me try explain. have main code has git repository, decided take part of code , make stand alone app. own name , versions distributed.
is there way keep main code , other branch updated? ex. if find workaround code on main, if can merge change stand alone (without adding of other functionality) if add new feature on stand alone, apply main code well.
currently have branch im not sure if create own git repository soon.
i aware of git add -p
times have many changes , going 1 1 until arrive 1 want apply pain.
any info appreciated
the tool describe add-on git, known git-subtree:
http://github.com/apenwarr/git-subtree/blob/master/git-subtree.txt
it works bit submodules, projects aren't linked together, , can extract , re-merge as like. there ongoing discussions regarding whether tool distributed git itself.
Comments
Post a Comment