Skip to content

Instantly share code, notes, and snippets.

@stevetalkscode
Created October 9, 2020 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevetalkscode/be5b6dbd0d8e832c6023fe17b0ba93a5 to your computer and use it in GitHub Desktop.
Save stevetalkscode/be5b6dbd0d8e832c6023fe17b0ba93a5 to your computer and use it in GitHub Desktop.
Snippet of the CreateMonoRepo script that defined which repositories to migrate and how
$items = (
[pscustomobject]@{ originRoot="";repo="Dummy1"; folder="From_Dummy_1"; subDirectory=""; mergeBranch="develop"; tempFolder="##Repo1" },
[pscustomobject]@{ originRoot="";repo="Dummy2"; folder="From_Dummy_2"; subDirectory=""; mergeBranch="main"; tempFolder="##Repo2" },
[pscustomobject]@{ originRoot="";repo="Dummy3"; folder="From_Dummy_3"; subDirectory=""; mergeBranch=""; tempFolder="##Repo3" },
[pscustomobject]@{ originRoot="https://github.com/microsoft/";repo="MS-DOS"; folder="Microsoft"; subDirectory="MS_DOS"; mergeBranch="master"; tempFolder="##MS_DOS" }
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment