GIT seminar - NUDZ

GIT seminar - NUDZ

Sep 27, 2016. | Instructor: Michal Hocko | At: NUDZ

Calendar

This seminar will teach you basics of GIT hands on. Git is a distributed version control system which is widely used in all software development areas. It allows you to track changes, save and load code in certain positions, safely test new ideas etc.

What we will do

  1. Basics - staging, commiting, pushing, pulling, branching
  2. Saving our butts - reset, remove, checkout, rewinding history
  3. Merging and collaborating- merging locally, fetch + merge, merge conflicts, rebasing

Besides these skills, we should talk about conventions, how often commits shoudl happen, what are good practices etc.

What to do in advance?


Firstly, you will need your own laptop to run things we will do. So bring those and have them ready by following steps bellow:

  1. Download git from https://git-scm.com/ or using Linux command line.

  2. Check if it’s working by opening the git command line and running following commands

cd #path - use cd command to get to the path you want to start the repository at
mkdir git-test
cd git-test
git init
touch file.txt
git status
git add --all
git commit -m "Initial commit"
git log

Important

Although You don’t need any repository account to run git, You will eventually want to “save” your progress online and share it with people. You will need an account for that. Possibilities include:

Alternatively you can run your own git server somewhere on Azure, AWS or Google cloud, but I’d strongly recommend you to start with one of the above solutions. They are free and quite popular.

About

Community to help non programming graduate students with their programming projects. Promoting clean, readible and shareable scientific code.

Social Links

Site deveoloment

This site is built with the help of the amazing Jekyll ruby gem and the Solid-Jekyll template. Check it out!