linux - Git pull from partial repository? -
I am trying to merge different versions of the same file for one of my projects. The only way to git me is to repo the branches, modify the file, and then pull the branch into its owner. The only problem is that my project has 100 files and I only need it. Is there a way to drag it from this branch which is only in this file? Every time I try to do this, it removes all the other files. Is there any other way that I can fulfill the basic work in hand?
The only problem is that my project has 100 files and I only need it.
This problem should not be proceeded and
- Clone the entire branch with 100 files.
- Modify the single file of interest.
- New branch (with 100)
- Merge on the way, drag the new branch to the old one.
It looks terrible, but git makes such a thing very efficiently.
Comments
Post a Comment