Using SourceTree

Do you have any tutorial for using git on sourcetree ?

2 answers

1 accepted

1 vote
Jeff Thomas Atlassian Team Nov 16, 2013

Atlassian has a tutorial for Git here - http://www.atlassian.com/git

That tutorial is designed for the command line, but you should be able to convert most of the commands to their SourceTree equivalent. It looks like you're using the Windows version of SourceTree and there is no built in documentation yet, but Atlassian says it is coming.

Thanks for the answer :) One more thing- In Source Tree, there is an option of your name and email which it uses as 'author for commit' and another tab for 'Authentication' in tools->option menu. Can you please tell the significance of these two options. And, Can one use the source tree for git if he/she doesn't has his/her online GitHub account? This question may sound a little dumb but I am new into this. :)

Jeff Thomas Atlassian Team Nov 22, 2013

When you make a commit in Git, the name and email address is included in that commit and the history. The Authentication is used to connect to any hosted repositories that require credentials.

You can use SourceTree without having an external account. You'd just be managing the local Git repository but would not be able to push it out to GitHub.

Let me know if you have any other questions!

Thanks you again for your answer. But I am still a bit unclear. This time my question may go a little long. Suppose I have only one online account on GitHub and I share its credentials to 5 people. I want these 5 people to work on some problem together. Then, can each one of them can use SourceTree to manage his/her local repository and also push/pull to the central repository on that online account of which I shared the credentials? Thanks again ...

Jeff Thomas Atlassian Team Nov 22, 2013

I'm not too familiar with how GitHub handles credentials, but yes you should be able to do that.

Each person would be able to clone the repository to their local machine and manage it with SourceTree. When they're ready, they could then push their changes to GitHub for the rest of the team to see.

If you don't want to share credentials, you could look at setting up collaborators for the repository on GitHub, but everything above should work the same. https://help.github.com/articles/how-do-i-add-a-collaborator

Thank You so much :) It helped me a lot.

Jeff Thomas Atlassian Team Nov 22, 2013

You're welcome, glad to help!

Thanks for the answer :) One more thing- In Source Tree, there is an option of your name and email which it uses as 'author for commit' and another tab for 'Authentication' in tools->option menu. Can you please tell the significance of these two options. And, Can one use the source tree for git if he/she doesn't has his/her online GitHub account? This question may sound a little dumb but I am new into this. :)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

418 views 79 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you