Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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