Skip to content
Snippets Groups Projects
Commit 3bc991a5 authored by FILIPPONE Jerome's avatar FILIPPONE Jerome
Browse files

Upload New File

parent 80776470
No related branches found
No related tags found
No related merge requests found
// création des alias
alias af='git add Firmware.txt ; git commit -m "ajout de Firmware"'
alias am='git add Maps.txt ; git commit -m "ajout de Maps"'
alias ar='git add Roadtrip.txt ; git commit -m "ajout de Roadtrip"'
alias gb='git branch'
alias gc='git checkout'
alias gl='git ls-files --cached'
alias go='git log --oneline'
// utilisation d'un alias
go DEV
// information sur les branches
git branch --all
git checkout -b DEV1B
git checkout -b DEV2B
// informations sur les commit
gitk --all&
git log --oneline
// informations sur le stage (ou index)
git ls-files --cached
git status
// fusionner dans DEV (après un checkout)
git merge DEV1B
git merge DEV1B --no-ff
git merge DEV2B
git merge DEV2B --no-ff
// rebasage dans DEV
git rebase DEV DEV1B
// rééinitialiser des états
git reset --hard HEAD~1
git reset --hard HEAD~2
git reset --hard HEAD~3
git reset --mixed HEAD~1
git reset --soft HEAD~1
// créer des fichiers
touch Firmware.txt
touch Maps.txt
touch Roadtrip.txt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment