I'm trying to increase my comfort with using git in the terminal; currently I do whatever I can through the RStudio interface. I'm curious about a few things:
-
Is trying to learn git from automated RStudio commands the wrong approach altogether? (Perhaps, for example, RStudio is set up to cover more cases than I need to concern myself with since I know the specifics of my project.)
-
If not -- i.e. knowing what RStudio is doing is a useful exercise -- is it possible to see what git commands RStudio executes? (Sometimes I see them but other times they scroll by too quickly for example when creating a new project with version control from an existing GitHub repository.)
-
More specifically, the standard RStudio version of
git pull
andgit push
seem to be:
>>> git pull --rebase
>>> git push origin refs/heads/master
Why --rebase
? Why refs/heads/master
?
(I may very well be barking up the wrong tree here; if so, let me know!)