How to put a new project to github with SourceTree

Hello,

 

I have made a new project on my computer. I want to put it into a new project I made on github,

How do I tell sourcetree to do this ? 

1 answer

Hi @roelof wobben

 

You need to configure your remote repository on GitHub with your local repository on your machine.

It is an easy process which needs following steps to be followed taking into consideration that you have gitHub repository already set.

 

1.Add a remote to your repository(local)

   a. click on repository.

   b. In repository explorer check for "Remote" tab

   c. Right click -> add remote

   d. click "add" from pop up screen, fill out required information

        remote name :- could be anything(alias)

        URL :- repo on git hub

   e. In extended information you can select github as hosting type followed by username for further authentication

   

2.once a remote set has done you can commit and push code to github server.

 

hope that answers your question!

 

thanks

Rahul

 

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

647 views 0 4
Read article

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