Re: change remote to track new branch

2013-08-06 Thread Daniel Convissor
Hi Folks: On Sat, Aug 03, 2013 at 12:52:15PM -0400, Daniel Convissor wrote: > > Yeah. I had contemplated using the following commands: > > git config remote.wp.fetch \ > "+refs/heads/3.6-branch:refs/remotes/wp/3.6-branch" > git config branch.wp.

Re: Bug: Pulling remotes into an empty repo deletes the index

2013-08-03 Thread Daniel Convissor
Heya: On Sat, Aug 03, 2013 at 09:57:28AM -0700, Jonathan Nieder wrote: > > Adam hadn't made a commit, so that wouldn't work in this case. Oh, good catch. I saw the add and assumed there was a commit there. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y

Re: Bug: Pulling remotes into an empty repo deletes the index

2013-08-03 Thread Daniel Convissor
Hey Again Adam: On Sat, Aug 03, 2013 at 12:39:15PM -0400, Daniel Convissor wrote: > > All is not lost. Your local files should be stored in the repository's > reflog. Examine the output of "git reflog". You can then reset your > working directory to obtain tho

Re: change remote to track new branch

2013-08-03 Thread Daniel Convissor
Hi Andreas: On Sat, Aug 03, 2013 at 06:41:46PM +0200, Andreas Schwab wrote: > Daniel Convissor writes: > > Use git config. Yeah. I had contemplated using the following commands: git config remote.wp.fetch \ "+refs/heads/3.6-branch:refs/remotes/wp/3.6-branch&q

Re: Bug: Pulling remotes into an empty repo deletes the index

2013-08-03 Thread Daniel Convissor
Hi Adam: On Sat, Aug 03, 2013 at 10:01:30PM +1000, Adam A wrote: > - create a remote repository at URL with commit(s) in it > - e.g., a new github repo with README and LICENSE files auto-added > - write some files in a local directory > - git init > - git add . > - the contents of the director

Re: change remote to track new branch

2013-08-03 Thread Daniel Convissor
Hi Andreas: On Sat, Aug 03, 2013 at 09:14:59AM +0200, Andreas Schwab wrote: > Daniel Convissor writes: > > > Long ago I added a remote to my repo. It is set to track what was then > > WordPress' main release branch (3.4-branch) and created a local branch > > to u

change remote to track new branch

2013-08-02 Thread Daniel Convissor
Hi: Long ago I added a remote to my repo. It is set to track what was then WordPress' main release branch (3.4-branch) and created a local branch to use it. Well, time marches on. I want to update my remote and branch to track the new main release branch (3.6-branch). Here's how I set things u