git / github workflow in stash
With the addition (in latest master and dev brsnches) of the new
ghcommand for interfacing with github (create, fork, or issue pull requests), I figure it is time to start writing down some simple git in stash tutorials. This is probably also a good way to expose and work on the remaining bugs in the stash git implementation.
hey @jonb If I use version control at all, I tend to make repos in bitbucket since it lets you make private repos unlike github where you have to pay for that privilege. Usually I'm doing ad-hoc stuff with all sorts of either private apis / access keys all over the place so I don't feel comfortable putting stuff into public until it's more or less being wrapped up. Stash will work with other git services like bitbucket correct?
I've been using dropbox syncing constantly for working on apps/scripts between my mac and iOS, and I really would like to move over to using legit version control exclusively for everything, but to be honest I just don't feel like I have enough of a mastery of git to trust myself with it and it feels so finicky in so many ways.
stash git should, in theory, work with bitbucket.
If you have the ability to use ssh, this works the best -- slightly slower but more robust. you would then use git+ssh:// type urls instead of https. The gh module is specifically for creating /forking repos in github, if bitbucket has a similar api i suspect we could extend this to a more generic repo provider interface.