summitech / gitexplorer

Find the right git commands without digging through the web.
MIT License
1.84k stars 160 forks source link

Git Reset A File #63

Closed KoltonG closed 4 years ago

KoltonG commented 4 years ago

I was trying to find a way to reset a local file to a version on another branch but could not find anything like this in the reset/revert section.

I found this link https://stackoverflow.com/a/37972822 which helped me solve my problem.

I'm wondering what you think about this and if it's possible to get this added to the project? I could also create a PR if this is alright!

ade-fatimah commented 4 years ago

Please create a PR. We'd appreciate that

KoltonG commented 4 years ago

@FatimahSanni I just created a PR to add this command 🥳