Answers for "git log last 2 commits"

C#
6

git log one line

git log --oneline
Posted by: Guest on June-19-2020
0

git get latest log output to file

git log --oneline -50 > log50_latest_commits.txt
Posted by: Guest on September-13-2020
0

git revert last 2 commits

$ git revert --no-commit D
$ git revert --no-commit C
$ git revert --no-commit B
$ git commit -m "the commit message"
Posted by: Guest on September-18-2020

C# Answers by Framework

Browse Popular Code Answers by Language