Forums : FOSS Questions

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.synopsys.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

How to merge some specific project folder into an empty branch.

Hi all,

Currently i want to merge one project into another git branch. For example I have a branch name A and there is a project called p1 under folder projects/p1/. and i have a empty branch B. i just want to merge project projects/p1/ into my empty branch B. But I don't want to merge other parts(for example projects/p2). Can anyone help me please?

Thanks a lot.

zoucunliang over 14 years ago
 

http://www.winmerge.org
try this

Nasri about 14 years ago
 

Thanks for the post, it really helped me reverting some unnecessary updates. Note I found that if you revert 1 file you need to commit before moving onto the next file.

There seems to no way to remove a file completely without rebuilding the repository which is unfortunate.

http://forshop.us

hirakhan over 13 years ago