Skip to content
Snippets Groups Projects
user avatar
Benjamin Franzke authored
Commands executed:
  mkdir -p tmp
  git clone https://github.com/TYPO3/styleguide tmp/styleguide
  cat <<EOT > tmp/replacements.txt
  regex:(\[[A-Z]+\])==>\1 styleguide:
  regex:(\[[A-Z]+\].*) \(#([0-9]+)\)==>\1\n\nhttps://github.com/TYPO3-CMS/styleguide/pull/\2
  regex: #([0-9]+)==> https://github.com/TYPO3-CMS/styleguide/issues/\1
  EOT
  cd tmp/styleguide
  git checkout -b main-moved
  git filter-repo --to-subdirectory-filter typo3/sysext/styleguide --replace-message ../replacements.txt --refs main-moved --force
  cd ../..
  git remote add -f styleguide tmp/styleguide
  git fetch styleguide
  git merge --allow-unrelated-histories styleguide/main-moved

Releases: main
Resolves: #102235
Change-Id: I205b8397e748a0c84d99868664b4d0dd8c5fa99c
f3856614
Name Last commit Last update