github-tools / github-tools/github
Allow creating a commit without parents
- Linguagem predominante
- JavaScript
- Estrelas
- 3.8k
- Forks
- 809
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Currently the library always sets a parent, failing GitHub's input validation if giving a falsy parent.
However, [GitHub's commit API](https://developer.github.com/v3/git/commits/#create-a-commit) allows creating commits without parents:
> `parent` The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Start at the library entry point that creates Git commits and compare its request construction with the linked GitHub Create a Commit API documentation. Verify that omitting or passing an empty parent produces a root-commit request and that existing parent behavior remains unchanged.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript
- Domínio
- api
- Tipo de issue
- Funcionalidade
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 42/100