Re: I messed up my own git tree and I don't know how to fix it.

2019-04-21 Thread rob
I got it to do what I want.  I have alias nuke='rm -rfv' So I did     nuke github.com/alecthomas/gometalinter (modified content)     nuke github.com/kisielk/errcheck (modified content)     nuke github.com/rogpeppe/godef (modified content)     git rm github.com/alecthomas/gometalinter (modifie

Re: I messed up my own git tree and I don't know how to fix it.

2019-04-21 Thread rob
I did   git config --global core.trustctime false   git config --global core.checkStat minimal No difference -rob On 4/21/19 1:22 PM, Philip Oakley wrote: On 21/04/2019 18:07, rob wrote: possibly. What do I do about that? --rob see below. On 4/21/19 9:03 AM, Philip Oakley wrote: Hi Ro

Re: I messed up my own git tree and I don't know how to fix it.

2019-04-21 Thread Philip Oakley
On 21/04/2019 18:07, rob wrote: possibly. What do I do about that? --rob see below. On 4/21/19 9:03 AM, Philip Oakley wrote: Hi Rob, On 21/04/2019 13:34, rob wrote: didn't work.  I did not get any error messages, just didn't work.  After I did   git reset --hard   git status I see the

Re: I messed up my own git tree and I don't know how to fix it.

2019-04-21 Thread rob
possibly.  What do I do about that? --rob On 4/21/19 9:03 AM, Philip Oakley wrote: Hi Rob, On 21/04/2019 13:34, rob wrote: didn't work.  I did not get any error messages, just didn't work.  After I did   git reset --hard   git status I see the same 3 files that say changes not staged for

Re: I messed up my own git tree and I don't know how to fix it.

2019-04-21 Thread Andreas Schwab
On Apr 20 2019, rob wrote: > changes not staged for commit: > >   modified: github.com/alecthomas/gometalinter (modified content) > >   modified: github.com/kisielk/errcheck (modified content) > >   modified: github.com/rogpeppe/godef (modified content) You have submodules with modified content.

Re: I messed up my own git tree and I don't know how to fix it.

2019-04-21 Thread Philip Oakley
Hi Rob, On 21/04/2019 13:34, rob wrote: didn't work.  I did not get any error messages, just didn't work.  After I did   git reset --hard   git status I see the same 3 files that say changes not staged for commit: modified and it lists the same 3 files. Could this be that the file timestamp

Re: I messed up my own git tree and I don't know how to fix it.

2019-04-21 Thread rob
didn't work.  I did not get any error messages, just didn't work.  After I did   git reset --hard   git status I see the same 3 files that say changes not staged for commit: modified and it lists the same 3 files. --rob On 4/21/19 1:03 AM, Adrian H wrote: If I understand the commands you

Re: I messed up my own git tree and I don't know how to fix it.

2019-04-20 Thread Adrian H
If I understand the commands you are using correctly, you are referencing the remote repo. You need to reference the local repo. So try using the following commands: git checkout -- alecthomas/gometalinter git checkout -- kisielk/errcheck git checkout -- rogpeppe/godef Or if those are the only f

I messed up my own git tree and I don't know how to fix it.

2019-04-20 Thread rob
I have my own code at a github repository, using Go.  Part of using Go libraries not part of the official Go people is by using a system they call go get.  This essentially uses git to, well, go get source code.  Mine are at github.com and golang.org.  My computer runs LinuxMint 19.1. I used g