How to Setup remote branch automatically 🤖 (`push.autoSetupRemote`)
- Dominant language
- No language data
- Stars
- 84
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Each time I setup a branch on my localhost and attempt to push it to `GitHub`,
I get an error message similar to the following:
```sh
n@MBP auth % git push
fatal: The current branch gen-erd-#207 has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin gen-erd-#207
To have this happen automatically for branches without a tracking
upstream, see 'push.autoSetupRemote' in 'git help config'.
```
Need to look this up and get it configured so that it automatically creates the remote branch for me. 💭
# Todo
+ [ ] Research
+ [ ] Document
+ [ ] Apply!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.