“Commettre une histoire” Réponses codées

Git Log une ligne

git log --oneline
Tame Toucan

Comment voir tous les engins dans Git

$ git log --pretty=format:"%h - %an, %ar : %s"
ca82a6d - Scott Chacon, 6 years ago : Change version number
085bb3b - Scott Chacon, 6 years ago : Remove unnecessary test
a11bef0 - Scott Chacon, 6 years ago : Initial commit
Ashamed Anteater

Git Connexion de la ligne de commande jolie vue

$ git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit

* 3396763 - (HEAD, origin/master, master) Add twitter link (4 days ago) <Mattias Geniar>
* c73bbc9 - add facebook link (6 days ago) <Mattias Geniar>
* cb555df - More random values (6 days ago) <Mattias Geniar>
*   60e7bbf - Merge pull request #1 from TSchuermans/patch-1 (7 days ago) <Mattias Geniar>
|\
| * 8044a8f - Typo fix (7 days ago) <Tom Schuermans>
|/
Stupid Skipper

Obtenez toutes les modifications du nom de validation

$ git diff-tree --no-commit-id --name-only -r bd61ad98
index.html
javascript/application.js
javascript/ie6.js
Alive Alpaca

Git History

$ git log
-

Commettre une histoire

$ git clone [https://github.com/loverajoel/jstips.git](https://github.com/loverajoel/jstips.git)   # You will need a GitHub account for this to work  
$ cd jstips   # changing your directory into the one you just downloaded  
$ git log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset' --abbrev-commit --date=relative
Chris Nzoka-okoye

Réponses similaires à “Commettre une histoire”

Questions similaires à “Commettre une histoire”

Plus de réponses similaires à “Commettre une histoire” dans Shell/Bash

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code