Skip to content

Pushing git repositories #562

@savente93

Description

@savente93

I want to suggest a new step

Topgrade already supports pulling git repositories, but I'd like the optionto also push found repositories.

Which tool is this about? Where is its repository?

Source code version management. located here https://github.com/git/git

Which operating systems are supported by this tool?

The same as the existing git step

What should Topgrade do to figure out if the tool needs to be invoked?

Probably if there are branches in the repository with unpushed commits.

Which exact commands should Topgrade run?

git push for the appropriate branches.

More information

I can imagine this might have to be an opt in feature, but I'd really appreciate it. Just pushing to the default remote, and target branches with the same name and just erroring out if either of them is not set is enough for me and probably the safest option.

Thanks for all the hard work <3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions