gabrielcsapo / node-git-server

🎡 A configurable git server written in Node.js
https://gabrielcsapo.github.io/node-git-server
MIT License
253 stars 73 forks source link

Remote branch master not found in upstream origin #60

Closed brandonros closed 5 years ago

brandonros commented 5 years ago
brandon@dollardeploys:/tmp/sso-poc-2$ git branch
* master
brandon@dollardeploys:/tmp/sso-poc-2$ git branch -r

No branches being returned?

brandonros commented 5 years ago

It's because the repo created is a bare repo. You need to git checkout -b master locally, then push it to the remote.