Skip to content

Instantly share code, notes, and snippets.

@kedar2a
Last active August 6, 2017 09:19
Show Gist options
  • Save kedar2a/3651ee1eaa2fed4ba02f3b8a8f08f33b to your computer and use it in GitHub Desktop.
Save kedar2a/3651ee1eaa2fed4ba02f3b8a8f08f33b to your computer and use it in GitHub Desktop.
Handy git commands
**1. GIT LOG WITH COMMIT-NO, DATE, AUTHOR, COMMIT-NAME**
git log --oneline --name-only --pretty="%h %cd, %an : %s" 7b32cc4...27537cc
OUTPUT:
27537cc Fri Aug 4 12:37:34 2017 +0530, Kedar Aitawdekar : Merge pull request #1794 from Prachirb/dlkit
f4ef8e1 Fri Aug 4 12:35:21 2017 +0530, saurabh : Merge pull request #1780 from kedar2a/dlkit-dev
847ee1e Thu Aug 3 19:12:48 2017 +0530, Prachirb : Interaction settings UI modifications
gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/clix/clix2017.css
gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_clix2017.scss
75a9add Thu Aug 3 16:18:52 2017 +0530, Prachirb : Actionables behind buddy bar modified
gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/css/themes/clix/clix2017.css
gnowsys-ndf/gnowsys_ndf/ndf/static/ndf/scss/_clix2017.scss
gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/gevent_base.html
gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/lms.html
58d971c Thu Aug 3 15:46:59 2017 +0530, Kedar Aitawdekar : Merge pull request #1793 from katkamrachana/dlkit
e143b68 Thu Aug 3 15:42:09 2017 +0530, Kedar Aitawdekar : Doc string corrected
===============================================================================================================
**CHECK DIFF OF SINGLE FILE FROM PARTICULAR COMMIT TILL THE DATE**
git diff df10fd6^^ HEAD ../requirements.txt
===============================================================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment