![]() ![]() Configure git using git bash with: git config -global user. You should now be able to see your changes in your remote repository in the class organization. Steps I took: Download Git, make github account, create new repository called 'testing'. Although RStudio does have various tools for installing packages, the most straightforward approach is to follow the steps described in the previous section. Quit and re-launch RStudio if theres any doubt in your mind about whether you opened RStudio. You may have to provide your HawkID and password at this point. If Git appears to be installed and findable, launch RStudio. In RStudio, go to File > New Project, and choose Version Control, select Git, and type the repository URL found in your copy of the repository listed in the right column on the GitHub website. In RStudio open a new project from the File menu, choose the Version Control option, and Git as the version control system. ![]() To push your changes to GitHub, from the Tools menu choose Version Control and then Push Branch. So, the steps that we will have to follow to connect Git with RStudio, either on Mac or Windows, are: Create an SSH password on Mac or Windows. You can also use the Git panel for the preceding steps. Your changes have been committed to your local repository. Open the README.md file for your project in RStudio, add something to it, and save the changes.įrom the Tools menu choose Version Control and then Commit.Ĭheck the box next to README.md, write a commit message, and press the Commit button.Ĭlose the version control window.
0 Comments
Leave a Reply. |