git

git

What is the difference between git reset –<file_name> and git reset HEAD<file_name> ?

Question: To remove files from the staged area use the command: $ git reset HEAD <file_name> However I accidentally applied the command: $ git reset <file_name> I forgot the command HEAD . When I did, I got the message: fatal: ambiguous argument 'class/control/C_UsuarioVarias.php': unknown revision or path not in the …

What is the difference between git reset –<file_name> and git reset HEAD<file_name> ? Read More »

Scroll to Top