Skip to content

Instantly share code, notes, and snippets.

@bitmess
Created June 5, 2017 06:51
Show Gist options
  • Save bitmess/b277de85c8ee09548ecea32711f521ff to your computer and use it in GitHub Desktop.
Save bitmess/b277de85c8ee09548ecea32711f521ff to your computer and use it in GitHub Desktop.
reset git file statue to one commit
#!/bin/sh
git reset 8304b56b434de4e13a4c3023b00814f94b40fb85 ./TrackController.m
git co -- ./TrackController.m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment