Programming Tips πŸ’‘
47.8K subscribers
67 photos
11 videos
30 files
356 links
Programming & AI:
Tips πŸ’‘
Articles πŸ“•
Resources πŸ‘Ύ
Design Patterns πŸ’Ž
Software Principles βœ…

πŸ‡³πŸ‡± Contact: @MoienTajik
Download Telegram
Git - Differences Between Commits πŸ™‡πŸ»

To see the changes of the last commit, you can use:

 $ git log β€”stat 


This command will show the files and the number of lines added and removed by file in each commit. πŸ’Ž

To see what exactly was changed in a commit, use git diff. πŸ’₯

To see the difference between two commits using sha s of commits in hand (0da94be and 59ff30c), use:

$ git diff 0da94be 59ff30c


#git #commit
@ProgrammingTip