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

Local or remote branch? #193

Open
raffaem opened this issue Jan 19, 2022 · 0 comments
Open

Local or remote branch? #193

raffaem opened this issue Jan 19, 2022 · 0 comments

Comments

@raffaem
Copy link

raffaem commented Jan 19, 2022

In this URL there is written that this command:

git pull upstream master --ff-only

pull the changes from the remote known as upstream into the master branch of my local repo

But I think in that command master is the branch of the remote upstream, not the branch of the local repo?

I think the branch of the local repo is just the checked out one?

In the git documentation for example there is written that:

git pull origin next

means

Merge into the current branch the remote branch next

So next is the remote branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant