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

My cloned repository looks nothing like the repository on bitbucket

Edited

Hi all,
I am new to git, i set up sourcetree with bitbucket to manage my unity project. I have been commiting changes frequently as a just incase. I started about 6 weeks ago.

Yesterday my dell laptop black screened for no reason (its 6 weeks old also).

Luckily I have been using bitbucket and sourcetree to save my details. The project looks like this in bitbucket with an assets folder etc etc.

Any idea why or how i can get the information that is on bitbucket onto my PC?? rather than this clone that looks nothing like the repository?

Thanks in advance. Sorry I am very new to all the GIT and just set it up as an emergency. I did not expect my brand new laptop to break.

 

 

2 answers

Hey @Ryan Wright 

Welcome to Atlassian Community !!

Looks like you have done bare clone hence local folder structure has git files. Can you mention which command did you use while cloning the repository ?

Usually I do it from git bash vis git commands, the command I use is would look like this

git clone https://username@bitbucket.org/teamsinspace/documentation-tests.git

PFA

Picture1.png

Picture2.png

 

And those pack files are like zip files of multiple objects, which git can extract when needed.

More about git object, packs in this article https://alblue.bandlem.com/2011/09/git-tip-of-week-objects-and-packfiles.html

Hope this information helps.

 

Regards,

Vishwas

0 votes

For anyone else that may look at this, all i had to do was "check out" the repository locally and it did the job.
This is probably a super basic thing but I am very new to GIT. At least the issue helped me to understand a bit more about it and I am super happy that I had made the bitbucket repository and commited often.

yes, git checkout would the would update the current working directory from the remote branch. 

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

156 views 2 4
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