-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add upstream config to Contributing.MD #1554
Comments
Hi @lamar-frankie, I am a bit confused. Also, you are interchangeably using the words remote upstream with remote branch. Your command invocation should actually be Are you sure your local and remote branches have the same name and the remote is set properly ? |
@agnivade In my opinion what @lamar-frankie wants to say is The guide just uses |
Following the steps on the Contributing page gives you a local branch that isn't connected to a remote. |
I see the issue. This is a change in git behavior.
Earlier, by default, This does not need the I will update the page. |
git push from a local branch fails if there is no branch of the same name in the remote repository.
@agnivade ohh are you going to update the page yourself, cheers |
Sure, please send a PR. |
Running it with |
Yea it's a one-off thing. I prefer the full command since the page is going to be read by a lot of people using git for the first time. |
With #1560, does that mean that this issue can be closed? |
@sbrl I think we should close it |
@mfrw Yeah, you're probably right. Closing now. |
Ah, I forgot to add the "Closes" magic word in the PR. |
The command line section is missing a step. After the contributor creates a feature branch locally they need to set the remote upstream or else attempts to push will fail.
Example:
git push --set-upstream origin {{feature_branch_name}}
The text was updated successfully, but these errors were encountered: