Using Git for Collaboration in Data Science Workspace - adobe/experience-platform-dsw-reference GitHub Wiki

Git is a distributed version-control system for tracking changes in source code during software development. Git is pre-installed within the Adobe Data Science Workspace JupyterLab environment.

Pre-requisites

The Git server you intend to use is accessible via the internet. Since the Adobe Data Science Workspace JupyterLab environment is a hosted environment and not deployed within your corporate firewall, the Git server you connect to must be accessible from the public internet. This could be a public or private repo on https://github.com/ (or) another instance of Git server that you have decided to host yourself.

Getting Started

  1. Launch Adobe Data Science Workspace Notebooks environment at: https://platform.adobe.com/ml/notebooks
  2. Choose File > New Terminal
  3. Navigate to your workspace: cd my-workspace
  4. To see a list of available git commands, issue the command: git –help
  5. Try cloning a repo e.g.: git clone https://github.com/adobe/experience-platform-dsw-reference.git. Please clone your project using an https:// URL rather than ssh://
  6. Use git as you normally would on your local machine to collaborate with others on notebooks

In order to perform any write operations (git push for example) the following configuration commands will need to be run for every new session.

git config --global user.email "[email protected]"
git config --global user.name "Your Name"

Also note that any push command will prompt for a username and password.

GIT in Terminal