Skip to content
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

how do you create a branch on the original repo? #68

Open
ndrean opened this issue Oct 21, 2022 · 9 comments
Open

how do you create a branch on the original repo? #68

ndrean opened this issue Oct 21, 2022 · 9 comments
Labels
enhancement New feature or request help wanted Extra attention is needed technical

Comments

@ndrean
Copy link
Contributor

ndrean commented Oct 21, 2022

Everything is in the title :)
I want to propose a branch for Google One tap.

@nelsonic
Copy link
Member

@ndrean you should have write access to every repo in the dwyl org.
Which means you can create a branch on any repo including this one.
Please confirm you can:

git clone [email protected]:dwyl/elixir-auth-google.git && cd elixir-auth-google
git checkout -b 'one-tap-login-#53'

Make your desired changes ...

git commit -am "add one tap login ref #53"
git push

Thanks. 👌

@nelsonic nelsonic added enhancement New feature or request help wanted Extra attention is needed technical labels Oct 21, 2022
@ndrean
Copy link
Contributor Author

ndrean commented Oct 21, 2022

Yes, this is ok!

I forked and have a branch in my repo.

....but If I want to make a pull request, there is no other branch than "main" on dwyl/elixir-auth-google

@nelsonic
Copy link
Member

@ndrean ic you already have a fork, you could just change/update the Git remote url to the original repo and then push the branch directly. Like I said, you have write access. 👌🏻

@ndrean
Copy link
Contributor Author

ndrean commented Oct 21, 2022

Screenshot 2022-10-21 at 11 54 16

I don't have the option to make a pull request on a branch, even if I created one in my fork. I am searching for how you do this. I don't want to make any mistake on the original repo, it was such a pain the other day to recover.

@ndrean
Copy link
Contributor Author

ndrean commented Oct 21, 2022

ok

git push upstream my-branch

but if I want a reviewer, I need to make a pull request from my fork... humm ok

@ndrean ndrean closed this as completed Oct 22, 2022
@ndrean ndrean reopened this Oct 24, 2022
@ndrean
Copy link
Contributor Author

ndrean commented Oct 24, 2022

git_fork_worklow

@ndrean
Copy link
Contributor Author

ndrean commented Oct 24, 2022

git_fork_worklow

More readable. Isn't this correct?

@nelsonic
Copy link
Member

@ndrean this diagram makes sense. 👌

@ndrean
Copy link
Contributor Author

ndrean commented Oct 24, 2022

Ok thanks for reassuring me. The missing piece is the merge....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed technical
Projects
None yet
Development

No branches or pull requests

2 participants