GitHub For Windows + Other git host (bitbucket)
Git may be > SVN, and if you're a little intimidated by the command line, or lazy, or you think GUIs are the new command line, the folks at GitHub released a Windows-specific client for managing your git repositories on GitHub.
It defaults to expecting a single remote origin
at GitHub, but you can manually set up other hosts, like BitBucket.org.
- Install GitHub for Windows (GH4W), open program
- Set your username/email globally to get the right avatar in non-github projects
git config —global user.name “FIRST_NAME LAST_NAME”
git config —global user.email “MY_NAME@example.com”
- Add new repository (either preexisting or blank directory)
- In the repository, click the "tools" > "settings" link at the top
- Go to BitBucket, find your clone link -- choose "HTTPS" option
- Back in GH4W, in the "primary remote (origin)" box enter the link you got in step #4
- Update the settings
- Back in the repo view of GH4W, click the "publish" link at the top
- Wait while it spins, then confirm it's there in the remote.
Credits:
- Initial source: http://haacked.com/archive/2012/05/30/using-github-for-windows-with-non-github-repositories.aspx
- Specific to bitbucket: http://blog.stevebumbaugh.com/post/24107268483/github-for-windows-client-for-bitbucket
- Official Instructions (BitBucket): https://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git
- What actually worked: http://stackoverflow.com/questions/13664949/use-github-for-windows-for-both-bitbucket-and-github
Written by Jeremy
Related protips
1 Response
wth coderwall -- roman numerals? nested numbering?
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Utilities
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#