On Github rednaks / GitSlides
[user]
name = rednaks
email = s@rednaks.tn
signingkey = 336969AC
website = rednaks.tn
twitter = @Alekkhan
github = github.com/rednaks
linkedin = www.linkedin.com/in/alexandrebm
google = +AlexandreBM
[core]
editor = vim
cvs = git
[web]
browser = firefox
Oui
Android, Apache, Debian, Drupal, Django, Eclipse, Fedora,
Firefox OS(gaia),Gnome, KDE, Linux Kernel, Perl, PHP,
PostgreSQL, Qt, Ruby on Rails, X.org ...
150 commandes au total
La plupart utilisées en interne par d'autre commandes
Plus que la moitié utilisées par des humains
Pensez à les apprendre petit à petit
git config --global user.name "rednaks"
git config --global user.email "s@rednaks.tn"
git config --global color.diff auto
git config --global color.status auto
git config --global color.log auto
git config --global color.branch auto
Une idée sur l'état du dépo :
vim index.html
git status
git add index.html
git status
git commit -m 'First commit'
git status
vim index.html
# faire quelques changements dans le fichier index.html
git diff
git log
git log -p
git remote add origin https://github.com/netlinksclubs/Git-Workshop.git
git push -u origin master
git clone https://github.com/netlinksclubs/Git-Workshop.git
cd GitParty-Workshop
git branch
git branch NewFeature
git branch
git checkout -b NewFeature
git checkout -b NewFeature2
# ou encore
git branch NewFeature2 && git checkout NewFeature2
git checkout master
git merge NewFeature
git branch -d NewFeature # on effface la branche
La procédure habituelle