GitRoot

craft your forge, build your project, grow your community freely
 1---
 2id: "4924"
 3priority: 50
 4sprint: ""
 5assignee: null
 6status: triage
 7kind: issue
 8---
 9
10# Push an empty branch should work
11
12When we push an empty branch, server don't accept it.
13
14## Reproduce
15
16`git checkout -b myBranch && git push origin myBranch`
17
18## Investigation
19
20Multiple problems here:
21
22- go-git seams to not create the branch in the temporary storer
23- gitroot try to run plugin on the previous commit (has it don't find an old commit)
24
25## Linked to
26
27[force push main need commit](./6bf9-force-push-main-need-commit.md)
28
29## After
30
31Think to reactive tests in [test-suite](../app/testsuite/runtest.sh) find the two `# TODO`