twosigma / twosigma/git-meta

`reset` should support resetting files to commits that aren't HEAD

Open
#433 0 comments 0 reactions 1 assignee Claimed by @s-xiang View on GitHub
reset
Dominant language
JavaScript
Stars
233
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Currently, we throw an exception from line 224 of `util/reset.js` saying that we "Cannot reset files to a commit that is not HEAD.". I don't know why I'm doing this. We could probably just remove the check here, but I'd like to see a couple of unit test cases added to validate.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.