[GH-ISSUE #10] Trying to run git-sim add with an empty repository (no commits yet) throws an error #8

Closed
opened 2026-03-02 16:47:03 +03:00 by kerem · 2 comments
Owner

Originally created by @Yamboy1 on GitHub (Jan 23, 2023).
Original GitHub issue: https://github.com/initialcommit-com/git-sim/issues/10

Trying to use git-sim add on a newly created repository with no commits throws a git-sim error: "No commits in current Git repository". git add should not depend on any commits currently existing in the repository.

Btw, I love this project and am really excited to see where it will go in the future :)

Originally created by @Yamboy1 on GitHub (Jan 23, 2023). Original GitHub issue: https://github.com/initialcommit-com/git-sim/issues/10 Trying to use `git-sim add` on a newly created repository with no commits throws a git-sim error: "No commits in current Git repository". `git add` should not depend on any commits currently existing in the repository. Btw, I love this project and am really excited to see where it will go in the future :)
kerem closed this issue 2026-03-02 16:47:03 +03:00
Author
Owner

@initialcommit-io commented on GitHub (Jan 24, 2023):

Noted!!! I'll look into this soon and get it fixed :D. Thanks for the support! If you ever have any ideas/suggestions for the project please let me know!

<!-- gh-comment-id:1401473960 --> @initialcommit-io commented on GitHub (Jan 24, 2023): Noted!!! I'll look into this soon and get it fixed :D. Thanks for the support! If you ever have any ideas/suggestions for the project please let me know!
Author
Owner

@initialcommit-io commented on GitHub (Jan 25, 2023):

Fixed in version 0.1.4, released. You can update with pip install git-sim --upgrade.

<!-- gh-comment-id:1403370114 --> @initialcommit-io commented on GitHub (Jan 25, 2023): Fixed in version 0.1.4, released. You can update with `pip install git-sim --upgrade`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-sim#8
No description provided.