Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Fresh clone repo and it has changes instantly??

I just cloned a remote repository onto my laptop, as soon as the repo was finally installed my local copy of source showed 4 files that were changed and now show as unstaged files.

How is this possible? this was a fresh clone.

While I have been using Sourcetree and Bit Bucket server for about a year now I am not a Git expert. But I feel that I must be doing something wrong because I swear on my main dev computer files are appearing and disappearing all on their own.... it really weird.

1 answer

0 votes
Mike Corsaro Atlassian Team May 15, 2018

Hello! What are the changes in the files? Are they whitespace changes? A screenshot would help.

That is just it, there should not be ANY changes. The files are binary and should not have been altered.

Since the repo did not exist before I cloned them into it I am a little concerned as to how or why they would have been changed.

Here is a screen grab from my computer showing what shows up immediately after cloning the remote repo to a empty directory on my local drive. I dont understand why it thinks those 8 files have changed and need to be staged. It is making me think that I have done something fundamentally incorrect with my repo and that I really do not have a proper history of my project.2018-05-26.png

Mike Corsaro Atlassian Team May 29, 2018

Hello! I suspect this might just have something to do with Unreal. Could you try diffing the first file in an external editor and see what the changes are? Alternatively, running "git status" (click on the terminal button and just type that in) will let you know if git is reporting the changes, or if it's an issue in Sourcetree

Mike, I will give that a go when I get a moment with my laptop. thank you for getting back to me. BTW What should I be looking for when I run the GIT Status?

Or is it one of those you will know it when you see it sorts of things? :D

Suggest an answer

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,709 views 4 12
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