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.
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
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes, git checkout would the would update the current working directory from the remote branch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.