Menu
PHP BABA LOGO
  • Home
  • Interview Questions
    • PHP String Interview Question
    • PHP Array Interview Qutions
    • jQuery Interview Quetions
    • PHP Interviwe Question on php.ini file
    • htaccess File Interview Quetions
  • About
PHP BABA LOGO

Git Log Commands

Posted on January 22, 2021January 22, 2021

Show logs with file differences(we can add number of the commit which we want to see like -1,-2): git log -p

Show logs with addition and deletion in a particular commit: git log --stat

Show commits in one line: git log --pretty=oneline

Show commit in short form: git log --pretty=short

Show log from last two days: git log --since=2.days

Show logs in pattern(like hashCode — autherName): git log --pretty=format:"%h -- %an"

Categories

  • Docker
  • Git
  • Interview Questions
  • Laravel
  • Linux
  • php
  • Salesforce

Recent Posts

  • How to check Salesforce current release version
  • Salesforce Certification Coupons / Vouchers
  • Nested / Cascade query in SOQL
  • Declarative tools in salesforce
  • SalesForce Questions

Recent Posts

  • How to check Salesforce current release version January 12, 2023
  • Salesforce Certification Coupons / Vouchers July 19, 2022
  • Nested / Cascade query in SOQL May 11, 2022
  • Declarative tools in salesforce September 24, 2021
  • SalesForce Questions September 24, 2021
©2023 The Tech Paper | Powered by Abhinav Trivedi