Clone Project

Image

Image

Once successful, you will be automatically redirected to your new repository.

Image

Execute the clone command to your local machine, for example:

git clone git@github.com:glitch-8501/test1.git

At this point, the project has been cloned using Method 1, and you can stop here.


Method 2: Create a project using the repository source code

In the following commands, my-shipany-project is the name of your new project. Be sure to change it.

(1) Based on the main branch

git clone -b main git@github.com:glitch-8501/shipany-template-navigation my-shipany-project

(2) Based on the cf branch

This branch is based on Next.js 15.5.5 and does not yet support Next.js 16.

git clone -b cf git@github.com:glitch-8501/shipany-template-navigation my-shipany-project

Note: The above clone command also clones the .git remote repository from the source code. You need to follow the steps below to remove the remote .git configuration, otherwise you won’t be able to push the project to your own repository.

cd my-shipany-project
rm -rf .git
git init
git add -A
git commit -m "feat: first commit"

In the command below, xxx/xxxxx refers to your GitHub username and project name (e.g., git remote add origin https://github.com/glitch-8501/test.git).

git remote add origin git@github.com:xxx/xxxxx.git
git branch -M main
git push -u origin main