Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 422 Bytes

20240601101301.md

File metadata and controls

23 lines (17 loc) · 422 Bytes

when / how was a line of code last changed?

  1. Use git annotate (or blame)

  2. Scroll to the specific line

  3. Use git show with the commit hash

$ git annotate cms/models.py
...
...
b5556e81        (Bob Belderbos  2022-05-11 21:47:28 +0200       53)    business = models.BooleanField(default=False)
...
...

$ git show b5556e81
commit b5556e81c10628468c5e0fc0239519f13424d524
...
    add business flag

#git