Last active
June 17, 2024 17:14
-
-
Save ccjmne/922094b63e29dd4d0cfee447544ea6d8 to your computer and use it in GitHub Desktop.
git-filter-repo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Move the "creditcardpayment" directory to the root of the repository | |
# NB: the forward slash at the end of the path is important (preceding the colon), | |
#see https://github.com/newren/git-filter-repo/issues/125#issuecomment-1016980260 | |
git-filter-repo --path creditcardpayment/ --path-rename=creditcardpayment/: | |
# Then, probably "git add remote" and push to the new repository | |
# Clone a single branch in its current state: | |
git clone git@gitlab.build-unite.unite.eu:procurement-platform/mercateo.git --depth 1 --no-checkout mo --single-branch --branch ITHD-89192-refactor-cc-payment-update-consumers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment