Removing deleted files from a source tree repository???

I have a problem, and it's driving me crazy.

I have replaced a bunch of files in a directory which is a git source path.I can add the new files to the repository which is fine, but I can't get the program to stop looking for and forget about the old files I removed.

This is my infinite loop scenario...

With the files listed in the bottom window, the bottom status bar says "255 missing". That's fine. I select all and choose "Stop Tracking".

Now, after some processing and a dialog box, I click on the ok. Now, they appear in the top window with the bottom status bar saying "255 Removed".

I select them all and choose "Stop Tracking". After another dialog box, the message at the bottom of it says, "blablafilenames setcolours.php liners/Modules/backups/ColourSettings/update.php liners/Modules/backups/ColourSettings/updated.php
fatal: pathspec 'liners/Modules/Calendar.orig/index_tz_ajax.php' did not match any files
Completed with errors, see above".

No luck.

Then, I select "Unstage Files"... We are now back to square 1, with the "255 Missing" and the files listed at the bottom.

Am I dumb? Missing something? Or is this not the way to do it? Is it a bug?

Thanks, Steve

SourceTree Version 1.5.6 (1.5.6) Mac

2 answers

1 accepted

After you select 'Stop Tracking', you have to commit this change. So after selecting 'Stop Tracking', which turns all the files from 'Missing' to 'Removed', you should commit the change.

Ah ha! That worked beautifully. Thanks heaps! :)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

562 views 1 2
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you