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 rstudio - create logical commits: mention a workaround for a bug #39

Open
cecileherr opened this issue Mar 24, 2021 · 0 comments
Open

Comments

@cecileherr
Copy link

A suggestion for this part of the course: https://inbo.github.io/git-course/course_rstudio.html#28_create_logical_commits

Unfortunately there is still a problem with (some versions of?) RStudio that makes it impossible to split the modifications in a single file into individual commits as described in the tutorial. In the commit panel, the "stage line" and "stage selection" buttons only work if the "context" is "all lines". If you select any other option as "context" (e.g. "5 line", ...), nothing happens.

This bug is described here with a simple workaround (select "context"= "all lines"). Since this bug has been around for years, it might be useful to mention the problem and the solution in the tutorial.

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