Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using SourceTree

vikas mangal November 16, 2013

Do you have any tutorial for using git on sourcetree ?

2 answers

1 accepted

1 vote
Answer accepted
Jeff Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 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.

vikas mangal November 22, 2013

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
Atlassian Team members are employees working across the company in a wide variety of roles.
November 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!

vikas mangal November 22, 2013

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
Atlassian Team members are employees working across the company in a wide variety of roles.
November 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

vikas mangal November 22, 2013

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

Jeff Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 22, 2013

You're welcome, glad to help!

0 votes
vikas mangal November 22, 2013

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
TAGS
AUG Leaders

Atlassian Community Events