lehoff / gitlab-wiki-rename

Small script to automate renaming gitlab wiki pages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gitlab-wiki-rename

Small script to automate renaming gitlab wiki pages.

  1. Put gitlab-rename-page inside the GitLab wiki repository.
  2. This should be the same directory where the .git directory is listed.
  3. This script will NOT search inside subdirectories.

Use: gitlab-rename-page some-page new-page-name

This will rename some-page.markdown to new-page-name.markdown using a git mv command and it will change all links of the form (some-page) in the .markdown and .md files in your directory to (new-page-name).

After that you have to add and commit the changes.

About

Small script to automate renaming gitlab wiki pages

License:MIT License


Languages

Language:Shell 100.0%