> But I must implement commit . directive at first?
> But my question was How I clean cache data which not inject to the
> repository with commit .
> or Isn't  it do like this?

I don't understand your situation. What steps got you there?

Some scenarios:

i. Copy file F to directory D
ii cd D; git init
iii Change and save F
iv Help! I want to undo my changes to F
Git isn't going to be able to help you here.

i. Copy file F to directory D
ii. cd D; git init
iii. git add F
iv. Change and save F
v. Help! I want to undo my changes to F!
I don't know if you can get your old version of F back from the
index...

i., ii. iii as above
iv. git commit
v. Change and save F
vi. Help! I want to undo my changes to F!
vii. git reset --hard F


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to