sorenlouv / backport

A simple CLI tool that automates the process of backporting commits on a GitHub repo
https://github.com/sqren/backport/blob/main/docs/config-file-options.md
Apache License 2.0
241 stars 57 forks source link

How backport tool can be used to local repo? #379

Closed zhaoshane closed 2 years ago

zhaoshane commented 2 years ago

Hi, i'm new to this tool. I try to use it in my local repo instead of one from github. $ pwd /home/sheng.zhao/linux $ backport --repo ./linux The repository "./linux" doesn't exist

But i find related functions are described in source code.

image

image

Did i misunderstand it?Could you tell me what's the right way ?

sorenlouv commented 2 years ago

This tool expects the repository to exist on Github but I suppose I can change it to work for purely local repos as well. As a temporary workaround you can create your repository on Github (as a private repo if it is sensitive).