<mohammadrony>

Commit History of Repository

See Commit Logs

Full commit history

git reflog
git log

Recent N commits

git log -N

Commit list in one line

git log --oneline

Reset local repository by commit

git reset a2c45fg
git reset --soft a2c45fg
git reset --hard a2c45fg

Update current repository with other commit

git rebase ab3de6g

Remove changes of specific commit

git revert abc456g
git revert abc456g..HEAD