gitworkshop

Instructions and details for a git workshop

View on GitHub

Linux

Installing git

Your machine probably includes git installed, but if not then you would have to run the appropriated package manager for your distribution.

For example, if Debian based:

sudo apt-get install git

or RedHat based:

sudo dnf install git

Text editor

nano should be already available on your Linux.

  1. Open a terminal
  2. Type the following command:
    nano
    

    Your terminal is now a text editor! If it looks like their website then you are good to go!

  3. To exit the editor and go back to the terminal type: ctrl+x

We will also use VS Code. Follow these instructions to get VS Code on your Linux.

  1. Download VS Code choosing your distro (deb, rpm)
  2. Open a terminal
    • browse to where you’ve downloaded the file
      cd ~/Downloads/
      
    • run the installation:
      sudo apt install <file>.deb
      
    • If you get into troubles or you are using a non debian based distribution, check for more detail on their installation instructions.
  3. Git should be integrated without any further settings
  4. You should be able to open it from the terminal by:
    code <filename>