Pierre-Yves Barriat 9ace9ae840 Last improvements on exercises 2 years ago
..
img 1c4e78a4b9 Update windows project 2 years ago
README.md 1c4e78a4b9 Update windows project 2 years ago
getting_started.sh 9ace9ae840 Last improvements on exercises 2 years ago
git-cheat-sheet.pdf 6ac924a9f0 Refactor project 6 years ago
git-refcard.pdf 6ac924a9f0 Refactor project 6 years ago
github-git-cheat-sheet.pdf 6ac924a9f0 Refactor project 6 years ago
tricky.md b06fd26f4c Upgrade repo: new slides 2 years ago

README.md

Git_Training

Git cheat sheet

Git for Windows or Mac OS X

Windows integration

Download and install Git for Windows from: gitforwindows.org

This installs a minimal Unix style shell (called git-bash), the basic OpenSSH tools as well as git.

During install select the following (for any other options given choose the defaults):

Git-Bash-A.png Git-Bash-B.png
Git-Bash-C.png Git-Bash-D.png
Git-Bash-E.png Git-Bash-F.png
Git-Bash-G.png Git-Bash-H.png
Git-Bash-I.png Git-Bash-J.png

You should use Visual Studio Code as default editor.

Setup of Git GUI’s: download and install TortoiseGit from tortoisegit.org

Select OpenSSH for the SSH Client and just put "ssh.exe"

Git-Bash-A.png Git-Bash-B.png
Git-Bash-C.png Git-Bash-D.png
Git-Bash-E.png

Mac OS X

Download a Git installer here.

Keep all options "By default" during installation

Now, open a terminal and use Git as you do on Linux...

Tricky commands

Here are a few commands that you may not know yet, or that offer options you haven’t been aware of so far.

Tricky commands