SESYNC offers private git hosting through our GitLab server. When you connect to our GitLab Community Edition (CE) instance using your SESYNC username and password, you’ll see a dashboard of recent activity on projects that you are part of. If this is your first time connecting, it may be a little quiet.
There are two types of projects you can create in GitLab, personal and group projects.
To create a project, click the new project either from the dashboard when you login for a personal project, or by clicking new project under a group for a group project. Enter the name, description and wether you want the project private, internal or public. Click create to finish creating your project.
Your project is now created and you can load files into it. Follow the instructions to manually load data, or follow one of our tutorials such as How do I create an RStudio Project with git?
After your project is created, you can use the links on your project page to browse activity and files in your project as seen below.
Privately sharing your GitLab project with collaborators requires that collaborators have a SESYNC account. Please contact email@example.com if your collaborator needs an account.
From the dashboard of your project, click the ‘Settings’ link, then click ‘Members’. You can share your project with new people by clicking the ‘new project member’ button.
Under “Select members to invite”, start typing the name of your collegues and a matching account name should appear. If they do not, they probably haven’t logged in to gitlab.sesync.org yet. Drop them a quick e-mail asking them to login so you can grant access. You can shoose the level of access from the choices below.
Click ‘Add users’ at the bottom when you have finished. The next time your collegue logs in they will see the project in their dashboard.
HTTPS and SSH are two different protocols that let you securely push (pull) commits to (from) a remote git repository. HTTPS requires a username and password to authenticate, while SSH works with paired public and private cryptographic keys. You can use either one, but setting up an SSH key pair means never having to enter a username and password.
You can generate a key pair for any machine onto which you will clone your repository, but SESYNC makes it especially easy to use the SSH protocol for projects cloned to our RStudio Server from GitLab or GitHub.
<URL>in the R command
system('git remote set-url origin <URL>').
That’s it! You should be able to push and pull between your local git repository on https://rstudio.sesync.org and the remote git repository on GitLab/GitHub.