Comment puis-je utiliser git log --pretty=format""
pour produire un journal git dans ce formatRendement spécifique git-log de style
timestamp|username|type|file
1275543595|andrew|A|src/main.cpp
Comment puis-je utiliser git log --pretty=format""
pour produire un journal git dans ce formatRendement spécifique git-log de style
timestamp|username|type|file
1275543595|andrew|A|src/main.cpp
brut, mais obtient le travail fait
git log --name-status --format='%ct|%an' hulu.sh |
sed 'N;N;s/\n/|/;s///;s/\t/|/'
|
|
1363415345|Steven Penny|M|hulu.sh
1363403048|Steven Penny|M|hulu.sh
1363278409|Steven Penny|M|hulu.sh
1363201389|Steven Penny|M|hulu.sh
1363158212|Steven Penny|M|hulu.sh
Ai-je raison de supposer que vous essayez d'obtenir ce format afin que vous puissiez avoir gource l'analyser?
si oui, consultez: https://github.com/whitewhidow/live-git-for-gource/blob/master/git-live.sh
Wich fait déjà,, il suffit de cocher également le code, afin que vous puissiez comprendre comment obtenir le bon format, au cas où vous en avez besoin pour autre chose ..
Merci! Quel est le bit hulu.sh pour et il sort mal voir [ici] (http://www.github.com/RX14/Modpack_Downloader) pour le repo et [ici] (http://www.rx14.co.uk/ log.log) pour le journal généré – RX14
Cela ne fonctionne pas, voir le commentaire ci-dessus. – RX14