twosigma / twosigma/git-meta

`git meta push` misbehaves when in detached head state

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

Description

It should not attempt to do anything unless explicit origin/branch information is given in this state. Instead, it tries to push to `origin` from HEAD to HEAD, e.g.:

```
git -C '/path-to-my-repo.git' push  origin HEAD:HEAD
error: unable to push to unqualified destination: HEAD
```

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.