go to a specific commit number not id on github

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: go to a specific commit number not id on github

Post by bernd »

Test on commit 14000

Code: Select all

$ git log --skip=795 --oneline -1
42efa3f72 Arch: Fixed bug in restoring material objects
$ 


and on github ...
https://github.com/FreeCAD/FreeCAD/comm ... 396761+794

Code: Select all

https://github.com/FreeCAD/FreeCAD/commits/master?after=8668296f9c7287827888d5f16acbfcaf1b396761+794
:D :D
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: go to a specific commit number not id on github

Post by bernd »

commit 10000 is fine too ...

Code: Select all

$ git log --skip=4795 --oneline -1
216d8c66d commit 10000
$

Code: Select all

https://github.com/FreeCAD/FreeCAD/commits/master?after=8668296f9c7287827888d5f16acbfcaf1b396761+4794
https://github.com/FreeCAD/FreeCAD/comm ... 96761+4794 and https://github.com/FreeCAD/FreeCAD/tree ... 322db7faa2
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: go to a specific commit number not id on github

Post by bernd »

more puzzles to solve ...

Code: Select all

git shortlog -s -n

Code: Select all

$ git shortlog -s -n
  4337  wmayer
  2180  Yorik van Havre
  1029  Bernd Hahnebach
   638  Markus Lampert
   527  Abdullah Tahiri
   495  jriegel
   439  Stefan Tröger
   439  WandererFan
   356  Przemo Firszt
   249  DeepSOIC
   247  jrheinlaender
   206  wwmayer
   199  sliptonic
   192  Sebastian Hoogen
   187  Eivind Kvedalen
   158  Zheng, Lei
   150  logari81
   136  looooo
   124  Jose Luis Cercos Pita
   124  Jose Luis Cercós pita
   121  Alexander Golubev
   103  yorikvanhavre
    98  wandererfan
    89  Kurt Kremitzki
    88  luz.paz
    87  Ian Rees
...
$
but

Screenshot_20180924_163248.png
Screenshot_20180924_163248.png (109.85 KiB) Viewed 1922 times
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: go to a specific commit number not id on github

Post by bernd »

I hat unsolved puzzles. I should not have started this :evil: :o :mrgreen: :lol:
wmayer
Founder
Posts: 20307
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: go to a specific commit number not id on github

Post by wmayer »

bernd wrote: Mon Sep 24, 2018 2:35 pm I hat unsolved puzzles. I should not have started this :evil: :o :mrgreen: :lol:
Github account name != git author name and in your local repo it may count commits in other branches than master.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: go to a specific commit number not id on github

Post by bernd »

ahh yes github uses mail adress and does not care about the name ...

BTW: I have been asking similar question in January 2014 already ... https://forum.freecadweb.org/viewtopic.php?t=5308
Post Reply