I have two file changes in a git commit. I have sent a pull request and still it is not merged. I need to know the command of removing one file change from the pull request. I mean not to delete the file from the repository. But to to remove new local changes from my commit. Please advice me.Thanks
Asked
Active
Viewed 164 times
0
-
Does this work: git checkout origin/master -- path/to/file ?? – Mindastic Jul 08 '15 at 03:06
-
did you already commit the changes? If you did, you'll have to [`revert`](http://stackoverflow.com/questions/215718/reset-or-revert-a-specific-file-to-a-specific-revision-using-git) them. – NightShadeQueen Jul 08 '15 at 03:08