mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-06-03 19:19:18 +02:00
Remove log branch
It appears that there is no way, at least what I could find, to capture the CLI output. No doubt there is a way, but I do not want to take the time to figure it out.
This commit is contained in:
parent
3f6bf0d16f
commit
52cc7c5095
3 changed files with 0 additions and 29 deletions
|
@ -1,27 +0,0 @@
|
||||||
title = List Log History
|
|
||||||
|
|
||||||
[description]
|
|
||||||
|
|
||||||
List the commits made in that repository in reverse chronological order; that is, the most recent commits show up first.
|
|
||||||
|
|
||||||
[setup]
|
|
||||||
|
|
||||||
rm -rf .git
|
|
||||||
|
|
||||||
git init
|
|
||||||
|
|
||||||
for i in 1 2 3 4
|
|
||||||
do
|
|
||||||
echo "M$i" > M$i.txt
|
|
||||||
git add M$i.txt
|
|
||||||
git commit -m "M$i"
|
|
||||||
done
|
|
||||||
|
|
||||||
[win]
|
|
||||||
|
|
||||||
#List the log
|
|
||||||
#test "$(git log | wc -l )" -ge 1
|
|
||||||
|
|
||||||
[congrats]
|
|
||||||
|
|
||||||
Well done! It is good to be able to view the repo's history and see what has been commited by you and others.
|
|
|
@ -1 +0,0 @@
|
||||||
list
|
|
|
@ -3,7 +3,6 @@ files
|
||||||
branches
|
branches
|
||||||
merge
|
merge
|
||||||
index
|
index
|
||||||
log
|
|
||||||
remotes
|
remotes
|
||||||
changing-the-past
|
changing-the-past
|
||||||
shit-happens
|
shit-happens
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue