Skip to content

How to mirror a git repository without the pull refs  #1089

@sylvainmouquet

Description

@sylvainmouquet

Hello,

When i clone a GitHub project i get the list of pull request (git.reference).
I would like push only branches and tags but not pull request.
Example with git is present here : https://christoph.ruegg.name/blog/git-howto-mirror-a-github-repository-without-pull-refs.html

It's possible to do the same with gitpython

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions