Learn how to use git show and git ls-tree commands to inspect commits, view changes, and explore file contents in Git. In this tutorial, we delve into the evolution of your code by examining changes within commits. You'll discover how to:
View specific commits using commit hashes or relative references
Use git show to display commit details and differences
Understand the diff output and hunk headers
View the content of a file in a specific commit
List files and directories in a commit using git ls-tree
Interpret the output of git ls-tree, including blobs and trees
Use options like --name-only and --name-status with git show to list modified files
By the end of this video, you'll have a solid understanding of how to inspect and understand changes in your Git repository, helping you track the evolution of your project effectively.
Don't forget to like, share, and subscribe for more Git tutorials!
✅For branding and Business inquiries ► [email protected]
📘 Resources Mentioned:
⛔ Background sound: https://share.epidemicsound.com/ia954g
🙊 Here are the tools and resources I use in my videos:
► Recommended Books
Clean Code
https://amzn.to/3PS6Cjo
HTTP: The Definitive Guide
https://amzn.to/4jthbHb
Clean Architecture
https://amzn.to/4avYVZK
► Computer and Monitor
New Apple MacBook Pro
https://amzn.to/4atFbWJ
Dell 27 INCH Ultrasharp U2719D Monitor
https://amzn.to/4avcsAA
Double Arm Stand Desk Mount
https://amzn.to/42umpMP
USB C Hub Multiport Adapter
https://amzn.to/4hxlaAz
► Gear
Microphone
https://amzn.to/4hbqw4U
🌐 Secure your connection with NordVPN: https://nordvpn.sjv.io/o4zYan
👉 Master programming by recreating your favorite technologies: https://app.codecrafters.io/join?via=...
IDE I use for coding
IntelliJ Idea Ultimate
VsCode
Sublime
🤚 In case you want to contact me:
❌ My LinkedIn profile: / hossain-md-iftekhar
❌ My X / Twitter profile: / ifte_hsn
❌ Github: Github: https://github.com/learnwithiftekhar
Note: Some of the links in this description are affiliate links, and I may earn a small commission if you make a purchase through them. Thank you for your support.