Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use GitHub Desktop application to commit to Bitbucket repository?

Is it possible to use GitHub Desktop application to commit to a Bitbucket repository?

If yes then where I need to add in GitHub? I see "Clone in Sourcetree" option, but I want to clone in GitHub Desktop. Is it possible?

like image 851
iPhoneProcessor Avatar asked Oct 16 '13 18:10

iPhoneProcessor


People also ask

Can you use GitHub desktop for Bitbucket?

The GitHub for Windows application has great integrated support for BitBucket (as can be expected), however it can work as a generic Git client just fine. This will allow us to use it with BitBucket.

Can you commit from GitHub desktop?

Under the Description field, click Commit to BRANCH. If the branch you're trying to commit to is protected, Desktop will warn you. To move your changes, click switch branches. To commit your changes to the protected branch, click Commit to BRANCH.


2 Answers

If what you want is using Github App for pushing your code to Bitbucket what you need to do is going to "Settings" (in your local repo) and change your Primary remote repository (origin) to point to Bitbucket in your Github App. Then you can Sync Branch.

like image 50
jabaldonedo Avatar answered Oct 17 '22 05:10

jabaldonedo


A .git repository is a .git repository. You can read your local repository with any client app. Clone the repo however you want, then open it in whatever software you want.

edit:

GitHub for Mac is optimized to work with GitHub remotes — but if you wish to use a non-GitHub remote, it will work just fine. Set the remote manually in the 'Settings' view and everything else should work as expected.

https://help.github.com/articles/can-i-have-multiple-git-remotes-non-github-remotes

like image 27
tom Avatar answered Oct 17 '22 04:10

tom