Skip to content

Add branch selection option to rendergit #25

Description

@birdalugur

Description:
Currently, rendergit always clones the default branch (main/master) of a repository. It would be very useful to allow users to specify which branch to render.

Proposed solution:

  • Add a CLI flag (e.g. --branch <branch_name>) to rendergit.
  • When provided, rendergit should clone the specified branch instead of the default one.
  • If no branch is specified, fallback to the default branch as it works today.

Example usage:

rendergit https://github.com/karpathy/nanoGPT --branch develop

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions