Advertisement
LemmingAvalanche

Find renames (backwards)

May 3rd, 2023
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. $ touch hello
  2. $ echo hello >hello
  3. $ git add hello
  4. $ git commit -mcommit
  5. $ git mv hello hola
  6. $ git commit -mcommit
  7. $ git mv hola goodbye
  8. $ git commit -mcommit
  9. $ git mv goodbye aufwiedersehen
  10. $ git commit -mcommit
  11. $ ./find-backwards.py hello
  12. File ‘hello’ was renamed to ‘hola’ in commit 1168ac590cc9ab2ab0694265f6b065c2644e79e4
  13. File ‘hola’ was renamed to ‘goodbye’ in commit 5430e47f06169ed962ce9366f3e520ef891c986c
  14. File ‘goodbye’ was renamed to ‘aufwiedersehen’ in commit 4db7cd96a9fa4d56de3f06b42d3a283c9c3c81ee
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement