Use GitHub for Windows for both Bitbucket and GitHub

Can I use GitHub for Windows at the same time for Bitbucket and GitHub?

For example, can I have a repo on both sites displayed in the program, and when I commit / synchronize a repo, it clicks on the corresponding repo on the corresponding website?

+60
bitbucket github github-for-windows
Dec 01
source share
3 answers

Not if you mean: to have a local repo with two remotes (one GitHub and one bitpack).
You can define only one remote with this client, and it will be either GitHub or Bitbucket.




Yes, if you limit one remote, you can use GitHub for Windows with any upstream repo.

The process of adding an upstream repo is now easier with the (constantly) updated GitHub app for Windows :

select the url and then drag and drop text from your browser and drop it into the github app for windows. It will automatically add the repository.

draganddrop




(Original answer February 2013)

In order for GitHub for Windows to publish the publication (instead of "clicking on GitHub"), you need to define the remote " origin " (in the settings of your local repo) using the https address of the Bitbucket repository :

 https://user@bitbucket.org/user/repo 

So, if you create a local repo through "GitHub for Windows", you can add the right remote through its settings:

remote

Please note that the first update will bring up the login screen so that you can enter your http credentials that you use on bitbucket.org: they will be cached (and encrypted) by GitHub for Windows throughout the current session.

login

(See " Password Caching" and " git: ' credential-cache ' is not a git command , for more on this credential caching mechanism recently introduced with git 1.7.9 +)

Any modification that you do locally will be picked up by the GitHub client for Windows (you may need to exit the repo (left arrow in the upper left corner of the GitHub click on Windows) and click again in the local Bitbucket repository: this will cause an update):

commit

The key in the following screenshot is in the word " publish " (instead of " push to GitHub ").
This is because the remote "origin" is https.

publish in github app

Click "publish" and you will see that your repo status is set to " in sync ":

in sync

Rush to bitbucket.org to check if GitHub for Windows actually clicked Bitbucket:

published

+83
Dec 02
source share

There is also a new Windows client that can be used with bitbucket. I tried this today and I think this is the best product.

http://www.sourcetreeapp.com/

+13
Apr 03
source share

Now there is an even easier way to connect GitHub for Windows to your Bitbucket account. Check out the link below.

http://www.infragistics.com/community/blogs/david_burela/archive/2013/03/31/using-the-github-for-windows-app-with-bitbucket.aspx

+12
May 30 '13 at 20:58
source share



All Articles