[GH-ISSUE #15] Feature request: support git switch #10

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

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

The switch command is generally recommended over checkout for a few years now (as far as I know at least), so it would be nice if git-sim could also support switch.

Originally created by @aunsbjerg on GitHub (Jan 25, 2023). Original GitHub issue: https://github.com/initialcommit-com/git-sim/issues/15 The `switch` command is generally recommended over `checkout` for a few years now (as far as I know at least), so it would be nice if `git-sim` could also support `switch`.
kerem 2026-03-02 16:47:05 +03:00
Author
Owner

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

@aunsbjerg Sure we can do that, just need some time since currently Git-Sim doesn't even support git checkout yet ':)

<!-- gh-comment-id:1403276680 --> @initialcommit-io commented on GitHub (Jan 25, 2023): @aunsbjerg Sure we can do that, just need some time since currently Git-Sim doesn't even support `git checkout` yet ':)
Author
Owner

@Elleriyc commented on GitHub (Feb 22, 2023):

Hello, this issue is still available ?

<!-- gh-comment-id:1439774111 --> @Elleriyc commented on GitHub (Feb 22, 2023): Hello, this issue is still available ?
Author
Owner

@initialcommit-io commented on GitHub (Mar 3, 2023):

@Elleriyc We're working on this one!

<!-- gh-comment-id:1453060897 --> @initialcommit-io commented on GitHub (Mar 3, 2023): @Elleriyc We're working on this one!
Author
Owner

@initialcommit-io commented on GitHub (Apr 1, 2023):

@aunsbjerg @Elleriyc This is included in our latest release along with several other new git-sim subcommands for simulating git switch, checkout, clone, fetch, pull, and push!

To upgrade git-sim just run pip install git-sim --upgrade

I'll close this for now since the feature is implemented, but feel free to add any questions, comments, or if you run into any issues!

<!-- gh-comment-id:1492822533 --> @initialcommit-io commented on GitHub (Apr 1, 2023): @aunsbjerg @Elleriyc This is included in our latest release along with several other new git-sim subcommands for simulating git switch, checkout, clone, fetch, pull, and push! To upgrade git-sim just run `pip install git-sim --upgrade` I'll close this for now since the feature is implemented, but feel free to add any questions, comments, or if you run into any issues!
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#10
No description provided.