Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Adding an existing copied repository

Dezziedc I'm New Here Aug 30, 2022

Hey all, I'm not a huge git user so not super confident with setting this stuff up.

So I've been using sourcetree for a while and had a local project set up and was successfully pushing and pulling from a remote server as part of a distributed team.

I bought a new computer recently and copied the project folder across onto the new PC.  As part of the copy process, it's brought across the repository as well.

I've tried to link it up to a fresh install of sourcetree on the new PC and can successfully see all of the previous history , however when I click on file status it returns the following error message:

'git status' failed with error code 128: fatal: this operation must be run in a work tree
(C:\{full path to directory}).

Any thoughts on how I could resolve this?

0 answers

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events