Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can I use SourceTree and a GitHub app at the same time?

As a novice, I prefer the simplicity of the GitHub app itself to work on our GitHub-hosted git project. However, to sync/push-and-pull another remote, I need to try SourceTree. (I am not confident enough to keep everything in the command line.)

Can I use the GitHub app for most editing of my (main) local repo and syncing with GitHub.com, and only occasionally fire up SourceTree to sync (my main local repo, as a I cannot sync the github.com remote directly to another remote, can I?) with the secondary remote? Would this work without any conflicts?

For those interested: I need the secondary remote on a shared location because it is also shared with accounts that cannot reach the internet to sync with the github.com repo directly.

like image 329
László Avatar asked Jan 25 '14 12:01

László


People also ask

Can I use GitHub with SourceTree?

For instance, you can start by creating a project on Github and then connect it to your SourceTree software so that later on, when you update your code or include new code you can upload the data on Github using SourceTree. To start work with SourceTree, create new project on GitHub (click 'Start a Project'.)

Which is better SourceTree or GitHub desktop?

Technically speaking, both are great GUI tools that provide a seamless way to contribute to projects on GitHub. Sourcetree provides a wider range of features than the GitHub's own GUI tool, and also gives you more control over your repositories. GitHub Desktop, however, is the best tool, if you are just using GitHub.

What is difference between GitHub and SourceTree?

Github is a website/company/service that allows you to host your git repositories so that you don't have to set up your own server. A competitor would be Bitbucket, for example, run by Atlassian. SourceTree is a GUI application that you can use to work with git if you don't like the command line tools.


1 Answers

There is absolutely no problem to work with both apps at the same time, git repos are juste folders on your computer and both apps simply show you in a visual interface what your repos look like.

For example if you make modification on your local GitHub repo using the GitHub app and you then open this same repo with SourceTree, you'll see every pending modifications you made with the GitHub app.

There is only one index for each git repo, both apps will read the same index and show the same information. The modifications made on one side will be visible on the other side.

Hope this will help you.

like image 155
Joël Salamin Avatar answered Sep 23 '22 21:09

Joël Salamin