If you do choose to use SourceTree as a GUI Git client, you'll need to add your BitBucket credentials to SourceTree. Let's do that now. Open the SourceTree app. Use Sourcetree to clone your repository to your local system without using the command line. As you use Bitbucket more, you will probably work in multiple repositories. For that reason, it's a good idea to create a directory to contain all those repositories. So start by creating a directory on your local system and call it repos.
Welcome to this easy and quick tutorial how to set up Git version control for the unity game engine.
Bitbucket With Sourcetree Windows 10
Using Bitbucket and SourceTree
Making things easy, we use Bitbucket for online repositorys and the sourcetree-app to do commits, pulls and pushes.
Bitbucket With Sourcetree Price
Make shure to watch the following video, where I teach everything about setting up version control.
After that, don’t forget to set up your gitignore-file for SourceTree, check out the screenshot and description below.
18:40 utc to est. Afterwards don’t forget to include a “gitignore”-file in your project directory.
That way you can make shure that only the necessary files will be uploaded to the remote repository.
All the crap stuff like temp- and build-files etc. will be ignored.
You can create the file by creating a new textfile, using filename “gitignore.txt”.
Copy and paste the following content into the file and save it:
Than rename the file and delete the “.txt”-fileending. There you have your gitignore-file:
Learn Bitbucket With Sourcetree
Since SourceTree uses its own gitignore-file, you have to tell SourceTree to use your gitignore-file.
SourceeTree -> Tools -> Options -> Git shows the git ignore file location it uses. You can also edit the file from a button in that dialog.