git
git log --oneline
- Lists all commits in the repository in a compact, one-line format
git commit --allow-empty -m "Empty commit"
- Creates an empty commit with the message “Empty commit”
git reset --soft HEAD~1
- Resets the current branch to the previous commit, keeping the changes in the staging area