[julia-users] Re: Changing Repositories Without Deleting METADATA

2016-10-02 Thread Kristoffer Carlsson
Just git remote add REMOTE_NAME REMOTE_URL in the package folder and then git checkout REMOTE_NAME master git checkout origin master to swap between the repos. On Sunday, October 2, 2016 at 7:01:28 PM UTC+2, Chris Rackauckas wrote: > > Does anyone have a good way to change repositories? A com

[julia-users] Re: Changing Repositories Without Deleting METADATA

2016-10-02 Thread Kristoffer Carlsson
Just git add remote REMOTE_NAME REMOTE_URL in the package folder and then git checkout REMOTE_NAME master git checkout origin master to swap between the repos. On Sunday, October 2, 2016 at 7:01:28 PM UTC+2, Chris Rackauckas wrote: > > Does anyone have a good way to change repositories? A com

[julia-users] Re: Changing Repositories Without Deleting METADATA

2016-10-02 Thread Avik Sengupta
I usually do this directly in git, and not via Pkg commands. I go into the package directory, and add my fork as an additonal remote. So.. cd /home/chris/v0.5/Sundials git remote add chris https://github.com/ChrisRackauckas/Sundials.jl.git

[julia-users] Re: Changing Repositories Without Deleting METADATA

2016-10-02 Thread Chris Rackauckas
Yeah, this is how I used to do it. It's really fragile though when used in conjunction with Github Desktop on Windows (it doesn't, at least didn't, like multiple remotes). I guess that's the best option unless the package manager allows one to choose remotes. On Sunday, October 2, 2016 at 10:50

[julia-users] Re: Changing Repositories Without Deleting METADATA

2016-10-02 Thread Tony Kelman
The conclusion I'd take out of that is not to use GitHub Desktop. It tries to hide too many important things like this from you. As far as git GUIs go, try SourceTree, it has a much more direct mapping between command line operations and GUI buttons.

[julia-users] Re: Changing Repositories Without Deleting METADATA

2016-10-03 Thread Avik Sengupta
I haven't used Github Desktop, but if it does not like multiple remotes, I would drop it, pronto. I say that because early on, I felt I "got" git only after I figured out how to use multiple remotes. I feel multiple remotes are fundamental to the design of git, being a "distributed" source contr

[julia-users] Re: Changing Repositories Without Deleting METADATA

2016-10-03 Thread Chris Rackauckas
Thanks for the suggestion. For some reason I never checked to see if there were other GUIs, but once you mentioned it I did quite a bit of Googling. I am now using GitKraken and while it will take a bit to get used to, it's already improving my productivity. Thanks for the suggestion. On Sunday

[julia-users] Re: Changing Repositories Without Deleting METADATA

2016-10-03 Thread Alex Mellnik
I'm in a similar situation, and any public package that I work on I have to manually point at my fork and add the original repo as an upstream. I haven't had much luck with any of the Pkg commands for things like this. I got very excited since I currently only can do ~10% of what I need thro