Skip to content

Instantly share code, notes, and snippets.

View rawatds's full-sized avatar
💻
Coding ...

Dharmender Rawat rawatds

💻
Coding ...
  • London
View GitHub Profile
@rawatds
rawatds / git-log.md
Last active February 26, 2023 08:01
Git log

To see graphically the commits and where our HEAD is)

git log --all --decorate --oneline --graph

To see commit history and what is changed in each commit

$ git log --oneline -p

To see logs related to only, where its added/modified/deleted.

$ git log --