First Time Git/GitHub Account Configuration on a Workflow


Scope

This page outlines the basic steps to configure the version control tool, Git, with your GitHub account on a Metworx workflow.

Initial Setup

To configure Git for the first time on your Metworx workflow, follow the steps below:

  • After successfully starting a workflow, launch RStudio
  • Open the Terminal in RStudio,
  • Run the following commands, replacing YOUR_USERNAME and YOUR_EMAIL:
<!-- -->
git config --global user.name YOUR_USERNAME
git config --global user.email YOUR_EMAIL
git config --global credential.helper 'cache --timeout=3600'
git config --global http.sslverify false

for example:

git config --global user.name janed
git config --global user.email janed@metrumrg.com
git config --global credential.helper 'cache --timeout=3600'
git config --global http.sslverify false

This set up only has to be done once on a new disk. The settings will then persist each time that existing disk is used on new workflow instances.