GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GIT-RESET-FILE(1) Git Extras GIT-RESET-FILE(1)

git-reset-file - Reset one file

git-reset-file [<filename>] commit-hash

Reset one file to HEAD or certain commit-hash

<filename>

The name of the file to reset.

<commit-hash>

(Optional) Hash of commit to reset the file to. Defaults to HEAD.

Reset one file to HEAD
$ git reset-file .htaccess
    

or reset one file to certain commit

$ git reset-file .htaccess dc82b19
    

Written by Sasha Khamkov <sanusart@gmail.com>

<https://github.com/tj/git-extras/issues>

<https://github.com/tj/git-extras>
October 2017

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.