Good morning!
I've never used git or bitbucket, I wanted to know how to check out a project that is on bitbucket.
Thank you in advance.
Good morning!
I've never used git or bitbucket, I wanted to know how to check out a project that is on bitbucket.
Thank you in advance.
How to git-clone a project:
git clone remote-url-do-repo
cd nome-do-projecto
git fetch
git checkout master
The first step clones the project to your machine, into a folder with the name of the project, from the folder where you are. That is: If you are in /home/username/
and the project is called xpto
this command will create the xpto
folder inside the /home/username/
folder.
The second command is to enter into the folder ( cd
= Change Directory) that you just cloned.
The third command ( fetch
) is for git to fetch all the branches, etc, etc, etc .. that exist.
The last command causes you to checkout
to the master
branch