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

git pull CLI-method does not update local master #20

Open
florisvdh opened this issue Mar 16, 2019 · 0 comments
Open

git pull CLI-method does not update local master #20

florisvdh opened this issue Mar 16, 2019 · 0 comments

Comments

@florisvdh
Copy link
Member

In the RStudio workflow, the following can be read (under option 1B):

Update the topic branch to make sure is is aligned with the remote master:
In the Git shell, type:

git pull origin master

Having the topic branch checked out, this effectively results in:

  • origin/master being fetched
  • new commits in origin/master being merged into the local topic branch

However, it does not update the local master branch, which may cause some confusion or caveats. Updating the local master branch would need a git checkout master followed by git pull (can be done through the RStudio GUI).

I suggest to mention more explicitly that that is not done by the provided command. Or, perhaps, shortly refer to the extra steps needed to do that (it can be done with the first steps of option 1A).

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