Copyright: Attribution, allow others to create paper-based, and must distribute paper (based on the original license agreement with the same license Creative Commons )
table of Contents
1. Configure Git environment
Come on now, it configure the environment, or you develop ah ye
knock blackboard test focus: Git - installation configuration (Linux, Windows dual record)
2. RStudio operation of Git
- The default has Github, cloud ha code
- Personal use deepin, so, the following steps are linux interface Ha
fact of LinuxRStudio Server And Windows RStudioThe same kind of interface 1
2.1 Initialization (one operation only)
Well times are graphical interface, it is still a lot of textures, simple and crude, ruthless people did not talk much
- New Project
- Select Version Control
- Select the Git tool
- Enter the address of the warehouse 2 , the local path
warehouses name will be automatically generated based on address of the warehouse, you can also modify their own, like a general default
2.2 Push Push New Laws (multiple operations)
- Push Push: add your own is to modify the code sent to the local code repository in the cloud to facilitate co-workers get the latest code
- firstCommitsubmit
- You must leave notes to Commit
- Commit success
- againPushPush
- Push success
2.3 Pull pull the latest warehouse (multiple operations)
- PullPull: I Get the latest code repository others to push their own local
- Pull success
Thus, the basic operation is completed
R Language - R installation and RStudio (Linux, Windows dual record) ↩︎
I configured a public key, so the use of SSH address, if not configured public key, select HTTPS address
SSH public-key setting , here is a tutorial code of clouds, cloud and Github code in fact set up similar ↩︎