summitech / gitexplorer

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

Git reset file #71

Closed KoltonG closed 4 years ago

KoltonG commented 4 years ago

Description

This PR adds a command to help users reset a certain file to a state on another branch. The inspiration for this PR was from a Stack Overflow answer.

Fixes #63

Notable Changes

  1. Add new git command
  2. Update data import command and simplify data/index.js code
  3. Update installation docs to use yarn due to project using yarn.lock

Questions

  1. I faced issues getting this working locally due to the dependencies in the yarn.lock were expecting a node version of ~V10 which I was using V13. Any thoughts of adding a .nvmrc inside this project to clarify this?
  2. It seems that the docker image used must of gotten a new node version which is causing failure when running docker-compose up. What do you think about me updating the image to use node:10.19.0-alpine?