It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why is Merge Deleting Files? Edited

I'm working on a group project with some students.

We're using gitlab but I believe we are all using sourcetree as the GUI.

Now we have dev as our main branch that we branch out from and then merge back into.

One of the contributors, tried to merge into dev, and I think because she didn't fetch first, it caused some files to be deleted, since she was merging into an older commit(was odd it even let her push considering that). So then she used the reverse commit feature(where new commit but reverses the old one). And then correctly merged afterwards.

But for some reason, now when I try to merge with dev from my branch, it deletes a lot of files.

The weirder thing is, when I merged, the files weren't even in the staging list. They only appeared after I actually commited.

Only thing I could think of, was that the system wasn't designed to take into consideration reverse commits?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

2,762 views 0 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you