Re: Bug? ignored files overwritten by checkout

2013-08-15 Thread Jeff King
On Thu, Aug 15, 2013 at 06:33:11AM +, Damien Robert wrote: > git init > git commit --allow-empty -m "init" > git checkout -b test > echo foo > foo > git add foo > git commit -am 'add foo' > git checkout master > echo 'Important data' > foo #[1] > echo foo > .gitignore > git checkout test > >

Bug? ignored files overwritten by checkout

2013-08-14 Thread Damien Robert
git init git commit --allow-empty -m "init" git checkout -b test echo foo > foo git add foo git commit -am 'add foo' git checkout master echo 'Important data' > foo #[1] echo foo > .gitignore git checkout test If I tried a `git checkout test` after [1], I would get the error message error: T