As UPF members or researchers, you own a free academic plan on Bitbucket. That means that you have unlimited storage for being part of UPF. To use the academic plan, you need to create an account using your educational email account e.g. [email protected]
You can create your Bitbucket account here: Bitbucket
Now you that you have created your account, you should have activated your academic plan. Nevertheless, there is the possibility that your account has not been set as academic. If that is your case, you need to fill this form in order to get the academic plan.
If you don't know if you are using an academic plan, click on the user button on the bottom-left corner of the screen and choose Bitbucket settings.
After that, click on plan details on the list to your left. Here you can check which plan are you on and what are the existent plans.
First of all, we will need some software in order to communicate with Bitbucket server; download git client.
The only thing you need to do is executing this command on your terminal.
$ sudo apt-get install git gitk
You will need to download gi client from the following website: http://git-scm.com/downloads
After this, turn on all the options by default when executing the installer.
Once the installation has been completed you will now have the possibility of using Git commands from your terminal (Git terminal/GUI on Windows).
In order to set up Git client, we need to introduce our Atlassian user and its corresponding email using these commands.
$ git config --global user.name "UserName"
(Only for Linux)
If we also want Git client to remember our password whenever we do a push, we need to execute the following command:
$ git config --global credential.helper 'cache --timeout=3600'
(If we would like to do the previous step on Windows we would need to install Git Credential Manager for Windows)
In order to create a new repository, we need to log in our Bitbucket account and go to our main page. Once there we should see a white + symbol on the left toolbar.
Click it and then click on the repository option.
Finally, fill all the gaps and click on the create button.
Now you have a repository! The only thing left is to clone it into your local directory or make it from an existent local repository as it is explained on your Bitbucket's repository source page.