Adding an existing copied repository

Dezziedc
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 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
TAGS
AUG Leaders

Atlassian Community Events