Skip to content
View sergirf's full-sized avatar
Block or Report

Block or report sergirf

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. run this command from the folder whe... run this command from the folder where all the subdirectories with git repositories are and this will create a new github repo for each one and push it all branches, commits and tags. You only have to replace ${GITHUB_ORG} for the actual name or deleted it if no ORG is needed. As a requirement it is using GitHub CLI https://cli.github.com/
    1
    for dir in *; do (cd "$dir" && git remote rm origin && gh repo create ${GITHUB_ORG}/"$dir" --private --source=. --remote=origin --push && git push --all && git push --tags); done