Sitelet https://github.com/orviz/git-github-tutorial-master-datascience
Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Git Hands-on Workshop: Mastering the CLI 🚀

Welcome to the practical guide for this Git workshop. During this session, we will abandon graphical interfaces (GUIs) and embrace the power of the Command-Line Interface (CLI).

🎯 Workshop Goals

  • Understand what happens behind the scenes of Git.
  • Master the local and remote Git workflow.
  • Learn how to solve conflicts confidently from the terminal.

Main Reference

This tutorial is based on "Pro Git" by Scott Chacon (2nd edition, 2014).

🛠️ Step 0: Set up your Environment

Before we begin, open your preferred environment and log into your GitHub account.

  1. Local Git CLI is preferred. If not installed, follow installation steps based on your operating system.
  2. If not locally installed, use the Master's Data Science Hub service.

Git CLI installation: Local Option (the Preferred Option)

Git installation on Linux

  1. Open a shell terminal
  2. Type git --version + Enter. If not installed:
    • For Debian/Ubuntu run: sudo apt-get install git
    • For RedHat distros run: sudo dnf install git

Git installation on MacOS

  1. Default shell is available via the Terminal program within your Utilities folder.
  2. Type git --version. If not installed: https://git-scm.com/download/mac

Git installation on Windows

  1. Install gitforwindows.org's app.

Additional reference: Git installation steps on Software Carpentries Git tutorial

Git CLI from Data Science Hub service's JupyterLab (the Fastest for Day 0)

  1. Access to the terminal:

    • Go to Data Science Hub
    • Log in with your GitHub credentials.
    • Open a terminal: on Files (tab) > New > Terminal
  2. Git client shall be available through the terminal.


Workshop Index

Follow the files in chronological order:

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors