Im having some trouble figuring out the right way to do this. I have some files that exist in a child branch that I'd like to merge back up to the parent branch...but *only* selected files...not *everything* that's changed from the child branch. Can someone please point me to some documentation somewhere that explains how this can be accomplished?
I've tried right-clicking on the child branch in Branch Explorer, selecting "Merge from this branch", selecting just the files I want to merge, and right-clicking on those files, and there is a "Merge selected files" context menu option, but its grayed out. Not sure why or what I'm doing wrong. Just need to be able to merge a few files back up to a parent branch. Little help?
Plastic SCM 4 relies in the DAG architecture, so, when you are merging from a branch you need to process all the suggested elements. If you are not interested in the full branch content you can use the cherry pick operation with the changesets you are interested in, but you also need to include the full changeset, a subset of it is not allowed.
So, what you're really trying to tell me is, there *is no way* to do what I am wanting to do....just merge selected files....from one branch to another...regardless of changeset. Am I understanding that correctly?
Changesets are atomic, you can't cherry pick individual files from them, because then the merge tracking would fall apart. We went from a non-atomic system (Clearcase) to Plastic and it took a while for people to grasp the concept.
After running the Windows update from 12/13/22 I had to reinstall Dropbox. When I tried to use my old Dropbox folder I could not because it said there was already one there. So I had to place the new Dropbox folder in another location.
The problem that there are different files in the two location and so I am trying to slowly move files that were in the old DB folder to the new, but I keep getting a message that "these files are online only, and need to be moved to the dropbox folder before opening". Which is exactly what I am trying to do!
It is as if many of the files that were in the old DB folder have retained their online only properties and cannot be moved because they are no longer linked to DB.
So how can I get them back in the DB folder so that they can be accessed again?
If you're connecting with the same Dropbox account as before, Dropbox will detect the existing folder and will then prompt you to merge the Dropbox folder. Upon merging the desktop version of Dropbox will check the existing files and the server versions and update accordingly.
Did this post help you? If so, give it a Like below to let us know.
Need help with something else? Ask me a question!
Find Tips & Tricks Discover more ways to use Dropbox here!
Interested in Community Groups? Click here to join
If you're connecting with the same Dropbox account as before, Dropbox will detect the existing folder and will then prompt you to merge the Dropbox folder. Upon merging the desktop version of Dropbox will check the existing files and the server versions and update accordingly."
I attempted to put the new dropbox folder in the parent folder location, but it said there was already a Dropbox folder in that folder and it would not let me proceed. And on the merging, I would like to do that because there are more files on my computer DB folder than there are on my online folder and I don't want to lose the files.
Did this post help you? If so, give it a Like below to let us know.
Need help with something else? Ask me a question!
Find Tips & Tricks Discover more ways to use Dropbox here!
Interested in Community Groups? Click here to join!
I did not change the name of the other folder because I thought the links to being able to access the files that were online only might be lost if I renamed folder. I am attaching a screenshot that includes the folders that I would like to merge and their associated properties. The file explorer on the right is the old that has files in it that I need to be able to access. The files explorer on the left is the new DB folder. Tried to get status in pic, but if not, it was "up to date".
If the files were online only in the old folder, it would mean that they were synced with your account at some point so the files must be present in the new folder as well somewhere. Can you see if you can find the files on the website?
My plan was to run a duplicate file finder and eliminate the excess files. But at the moment there are so many files that don't open because they are tagged as "online only" files that can't be opened. Which puts me in a position of having too great a risk that I would unintentionally delete a functioning file and keep the one I cannot open.
If I could get the "locked" "online only" files unlocked, then I would not be so concerned about deleting the wrong one because both files would be functional. At that point I would not accidentally delete one that worked and keep one that doesn't.
This is the message I get when I try to open one of the files. And I can't move it because it won't let me until it is "unlocked" by placing it in the folder. If I could get the file in the dropbox folder I think I could then convert it to "on computer" and it would open.
Just now, as a trial attempt to get the files inside the dropbox folder, I thought I would try to upload a folder into my Dropbox online. So I picked a folder with only a couple of small pdf's in it and attempted to upload. I got the same message notification. Shown below:
Please note that in the systray Dropbox icon indicates that it is up to date, yet the files indicate that they are uploading or in the queue. Also, it has been about 30 minutes and the folder has not uploaded.
Is there a way to remove files from a Git Merge Request? When I did the Commit and Push I had only selected the files that I physically modified however, DLLs, EXEs, and other files somehow got into the Merge Request.
Welcome to the forum @nicolas.gaborel, thanks for your answer.
It is correct, the link above mentioned it, and mentions how to avoid it too, ignoring the files that can be with the extension dll, exe
The problem is that a person put files into a merge request. .gitignore would have prevented that but how do I EDIT the merge request to eliminate the files and make sure they never show up in the history at all?
You could for example use a TChain:
If your files are small, you could also use the hadd tool to merge the root files before processing.
Or process files one by one and then use hadd to merge the resulting histograms.
First, check the file->d_name, is it correct? And why so many string and pointer copies? You could simply use std::string or TString. Then, make sure that all your .root files are valid, and make sure that you only add .root files in dataChain.Add()
(and please, next time, open a new topic instead of replying to a 4 years old one)
I have merged master into my bugXY branch, and needed to merge a file. But git mergetool failed (my noob fault, I guess), and even though I aborted the merge it left me with a dirty working directory but not in need-to-merge state. I would like to repeat the merge command, but I can't due to some new files left by the merge.
Now nothing is staged any more, but I still have a bunch of untracked working tree files which hinder me to git merge again ("would be overwritten, please [re]move them"). How can I do that? I guess rm path/to/file.php for each of them would work, but there are a lot of them...
If you didn't commit the files before you ran the reset command, then they get wiped out by the reset command. One of the options you have would be to use git reset --hard which will reset you back to the state of the provided commit.
Those are conflict markers. You're still in the process of merging, but there were some parts that Git couldn't merge automatically. You'll need to hand-edit those parts to what you want them to be and then commit the results.
Absolutely start with 'git status' to see what you've got. If you aborted a merge (or had a merge aborted) and you've got conflicted files in the working directory then something went wrong. The Git status will tell you where you are. After that, you have a number of options. You should resolve the merge commit either by-hand, which can be challenging, or using a tool as:
I'm coming from this question. And I wanted some automated method of merging the half merged files, instead of manually editing the files (as suggested in other answers, which I am not really comfortable doing). So here's what I ended up doing via netbeans, but can be done via command line too.
If you want to consider the new changes (coming from the branch to be merged), then remove all the code belonging to the HEAD. And if you want to keep your own code and not the code of the new branch, then remove the other and keep the HEAD's code
Hello!
Ive been working with two seemingly big files I referenced into a layout file.
Now the size and updating of the files is becomming a problem and we would like to merge both files into a single one...
The thing is that when I erase the reference, the design layers are imported with a -1 at the end, so they dont collide with the existing... this is solvable but a real pain to do...
Is there a way to actually merge the files like other programs do?
Thanks in advance!
3a8082e126