Let's quickly try out the
following in the CLI window that we opened earlier from the cappuccino
repository:
git log --skip=2
This should give an output as follows:
Though the output
might look similar to the usual git log
ones at first, when they are compared you will see that you have skipped off the last two commits from listing.
The --skip=number
makes this possible. The number
parameter can take any integer value to skip that number of commits for you.
There would be numerous situations where you would want to filter content based on date. This can be done with the since
/after
and until
/before
operators with git log
.