Skip to content

Git Repository Rename

Overview

Rename repository is an action in rare case appear most at the first stage of development phase.

It's support to use the detect name for projects with more conventions.

Protocol

Checklist when deploy repo with new name

  • Step 1: Change the name of repository, required admin priviledge or relative permissions.

  • Step 2: At individuals level

  • Check the current status of git URL

cat .git/config | grep url
  • Change the origin URL
git remote set-url origin <new-git-url>
  • [Optional] Try to a new commit to current feature branch

  • Step 3: For the admin/maintainance of project

  • [Required] Check pipelines linked project.

    E.g: Pull master from the repo of ETL process.

  • [Required] CICD pipelines: Cloud Build triggers, GitHub Actions naming