Re: [git-users] Updating a staged file makes it dissappear

2017-03-21 Thread AD S
On Tuesday, March 21, 2017 at 4:53:51 PM UTC+10, Gergely Polonkai wrote: > > Could you show us how you ran checkout? It’s strange to me it staged your > file. > > If you have a file in the index and adding modifications makes the file > disappear, that means the changes added later negates the

Re: [git-users] Updating a staged file makes it dissappear

2017-03-21 Thread Gergely Polonkai
Could you show us how you ran checkout? It’s strange to me it staged your file. If you have a file in the index and adding modifications makes the file disappear, that means the changes added later negates the changes in the index. Try it: add a line to an unmodified file, add to the index. Now