to import just some files from another branch which follows a remote repo,
how could I work in such a way that such commits gets merged into the renamed files?
first backup becaz my mind is not functioning proprly usually. prepare .gitignore git add -a git commit git clean -f git gc --agressive git repack -a
Uhm what? What does this do I haven't anything to add
renamed stuffs must be added again
I must revert them to their original position?
otherwise next commit will remove them
nah just add all
Ok let's get this straight I have two branches One with my renamed files, already committed One that follows another repo with upstream stuff What do I do?
cherry pick em?
By hand? Could be a solution, but they're really scattered
Also I should replicate them one by one on another file, seems really tiresome
You can script it
um, fetch and merge doesn't work?
Look There are two files and one folder, I'll call them executable lib scripts/ scripts structure was totally changed and I have to merge just that But I've subcategorized scripts by subfolders, in the branch I need to merge they're not categorized By merging I'd have duplicated scripts and possibly regressions in executable and lib code
You want to get only stuff in scripts/ ?
Обсуждают сегодня