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

Issue about git fetch example in remoteAdvanced6 #1070

Open
MountainHigh168 opened this issue Apr 26, 2023 · 1 comment
Open

Issue about git fetch example in remoteAdvanced6 #1070

MountainHigh168 opened this issue Apr 26, 2023 · 1 comment

Comments

@MountainHigh168
Copy link

image

When I click "git fetch" button,I think that only o/main should be update,not all the remote branch,is that right?

@SoumyaBhattacharjee
Copy link
Contributor

When we do git fetch without any remote or branch specified, by default it pulls all the branches from origin. For specifying remote and branch you have to pass them as parameter git fetch remote branch

Ref: https://www.atlassian.com/git/tutorials/syncing/git-fetch

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

2 participants