EricCrosson / git-dl

Clone a git repository to a structured directory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatically apply the --fork flag

EricCrosson opened this issue · comments

Split from #7

Is it possible to automatically determine if I need to use a fork from the API?

We need to use the fork model if:

  • I don't have write access to the repository at all
  • There exist specific branch protection rules [needs more thought]
    • We can get branch protection rules from the API