View
78
Download
4
Category
Preview:
DESCRIPTION
A presentation about introduction to git that I gave at a local school in Italy for both teachers and students–alike.
Citation preview
GITTGit per Istituto Tecnico Tecnologico
Oggi: PraticaCode Hosting, Collaborazione, GUI!!!
Appello!
$ git clone <repo> $ git clone --origin “<nome>” <repo>
$ git remote add <nome> <repo> $ git remote remove <nome>
$ git fetch <remote> $ git fetch --prune <remote>
$ git fetch + merge = pull
$ git pull $ git pull <remote> $ git pull <remote> <branch> fetch <remote> merge <remote>/<branch>
pull
pull ?
$ git push $ git push <remote> $ git push <remote> <branch> $ git push <remote> <branch>:<branch>
Appunti• Installare git (ed opzionalmente una GUI)
• git-svn
• Ogni repo GitHub è anche una repo SVN
• reset, rebase, stash, tag, staging area, HEAD, bisect, .gitignore, .gitattributes, grep, clean
• Upload slideshare & update links
• GitHub education program
Link Utili• git-scm.com
(Il riferimento assoluto = noioso, ma utile) • mac.github.com o windows.github.com
(La modalità più facile per installare Git & GitHub GUI per Mac e Windows) • git-scm.com/download/gui
(GUI per tutti gli sistemi operativi) • try.github.io
(Prova git direttamente nel browser) • gitreal.codeschool.com
(Video corso gratuito con gli esercizi, direttamente nel browser) • help.github.com
(Un po’ di aiuto pratico, sia per Git sia per GitHub)
Recommended