Re: Newbie falls at first hurdle

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: Newbie falls at first hurdle

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:06

Alan Chandler [off-list ref] writes:
The editor file that came up with this listed all the files it was going to 
commit INCLUDING some .files from the root directory (I am using eclipse, so 
I had files like .project and .classpath there).  It says in the 
Documentation that git ignores those - has it done?
We ignore '.git' but we let you have paths starting with dots
these days -- the change happened quite a while ago and if some
documentation still says we do not, then you spotted a
documentation bug.
I then deleted these directories again and then attempted to check them out 
from the repository with

git checkout master

None of these directories has been created in my working directory.
After you told git about those files, you removed them from your
working tree.  "git checkout" tries not to lose your local
changes -- which means that what you removed will be left
removed (so are what you locally edited).

    $ git checkout -f

would give them back, but you would also lose other local
changes if you have some.

Re: Newbie falls at first hurdle

From: Alan Chandler <hidden>
Date: 2016-06-15 22:42:06

On Saturday 17 Sep 2005 17:50, Junio C Hamano wrote:
Alan Chandler [off-list ref] writes:
quoted
The editor file that came up with this listed all the files it was going
to commit INCLUDING some .files from the root directory (I am using
eclipse, so I had files like .project and .classpath there).  It says in
the Documentation that git ignores those - has it done?
We ignore '.git' but we let you have paths starting with dots
these days -- the change happened quite a while ago and if some
documentation still says we do not, then you spotted a
documentation bug.
I think that is probably my problem.  I deleted all of /usr/local/bin (which 
had an earlier version of git in it) and then tried to re-install git 99.6.  
When I got a permissions error I gave up and installed into ~/bin.


But of course - that probably means that the man pages are old ones from when 
I last installed git (very early in the development cycle).

-- 
Alan Chandler
http://www.chandlerfamily.org.uk
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help