← 返回首页
How to change parameters order in iter_commits · gitpython-developers/GitPython · Discussion #1980 · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus
Discussion options

{{title}}

edited

{{editor}}'s edit

{{actor}} deleted this content .

{{editor}}'s edit

1 You must be logged in to vote
All reactions

I think this section on using Git directly would have the answers and what's theoretically possible.

Here, however, I since he method only provides kvargs, the order is probably not defined anymore. The only way to control it is to use Git directly, i.e. repo.git.rev_list('--not', '--all'), and to parse the result by hand.

Replies: 1 comment

Comment options

{{title}}

Marked as answer
1 You must be logged in to vote
All reactions
0 replies
Answer selected by ixSci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu

Select a reply

Loading
👍 1 reacted with thumbs up emoji 👎 1 reacted with thumbs down emoji 😄 1 reacted with laugh emoji 🎉 1 reacted with hooray emoji 😕 1 reacted with confused emoji ❤️ 1 reacted with heart emoji 🚀 1 reacted with rocket emoji 👀 1 reacted with eyes emoji

Footer

© 2026 GitHub, Inc.