Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Fresh clone repo and it has changes instantly??

Thuggers May 15, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
May 15, 2018

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

Thuggers May 24, 2018

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.

Thuggers May 26, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
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

Thuggers May 31, 2018

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
AUG Leaders

Atlassian Community Events