# Git_Training ## Git cheat sheet - [git-cheat-sheet.pdf](https://www.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources/git-cheat-sheet.pdf) - [git-refcard.pdf](https://www.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources/git-refcard.pdf) - [github-git-cheat-sheet.pdf](https://www.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources/github-git-cheat-sheet.pdf) ## Git for Windows or Mac OS X ### Windows integration Download and install Git for Windows from: [gitforwindows.org](https://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](https://webpages.uncc.edu/zwartell/Teaching/Git%20Tutorial/images/Git-Bash-A.png) | ![Git-Bash-B.png](https://webpages.uncc.edu/zwartell/Teaching/Git%20Tutorial/images/Git-Bash-B.png) | |![Git-Bash-C.png](https://webpages.uncc.edu/zwartell/Teaching/Git%20Tutorial/images/Git-Bash-C.png)|![Git-Bash-D.png](https://webpages.uncc.edu/zwartell/Teaching/Git%20Tutorial/images/Git-Bash-D.png) |![Git-Bash-E.png](https://webpages.uncc.edu/zwartell/Teaching/Git%20Tutorial/images/Git-Bash-E.png)|| > Don't forget to launch "Git Bash" to generate your ssh keys: `ssh-keygen -t rsa` Setup of Git GUI’s: download and install TortoiseGit from [tortoisegit.org](https://tortoisegit.org/) > Select OpenSSH for the SSH Client and just put "ssh.exe" ||| | -------- | -------- | | ![Git-Bash-A.png](https://www.elic.ucl.ac.be/TECLIM/Git_Training/raw/master/resources/1.png) | ![Git-Bash-B.png](https://www.elic.ucl.ac.be/TECLIM/Git_Training/raw/master/resources/2.png) | |![Git-Bash-C.png](https://www.elic.ucl.ac.be/TECLIM/Git_Training/raw/master/resources/3.png)|![Git-Bash-D.png](https://www.elic.ucl.ac.be/TECLIM/Git_Training/raw/master/resources/4.png) |![Git-Bash-E.png](https://www.elic.ucl.ac.be/TECLIM/Git_Training/raw/master/resources/5.png)|| ### Mac OS X Download a Git installer [here](https://sourceforge.net/projects/git-osx-installer/). > 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](https://www.elic.ucl.ac.be/TECLIM/Git_Training/src/master/resources/tricky.md)