How to Setup remote branch automatically 🤖 (`push.autoSetupRemote`)

Open
#52 2 comments 0 reactions 1 assignee View on GitHub

@nelsonic is already working on this.

Since Oct 12, 2022.

Assessment

This issue has not been assessed yet.

Description

enhancement help wanted

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:

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!
Dominant language
No language data
Stars
84
Forks
22
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dwyl/dev-setup

All issues in dwyl/dev-setup

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.