--- title: "How to get your local git repo onto AllSpice" slug: "how-to-get-your-local-git-repo-onto-allspice" description: "View our tutorial and learn how to migrate your local git repo to AllSpice. " tags: ["migration", "repo", "Git"] updated: 2023-03-20T00:01:48Z published: 2023-03-20T00:01:48Z canonical: "learn.allspice.io/how-to-get-your-local-git-repo-onto-allspice" --- > ## Documentation Index > Fetch the complete documentation index at: https://learn.allspice.io/llms.txt > Use this file to discover all available pages before exploring further. # How to get your local git repo onto AllSpice ## Overview This tutorial will help you migrate your local git repo to AllSpice. 1. [Create a new repo](/v1/docs/create-a-new-repository) in AllSpice Hub. AllSpice doesn't allow you to create a repo by pushing. 2. Copy the project URL. ![image.png](https://cdn.document360.io/3d44af5c-3f49-4ca5-b152-10836a885c13/Images/Documentation/image%2836%29.png) 3. Link your local repo to the AllSpice repo ``` git remote add origin [REPO-URL] git push --set-upstream origin --force-with-lease ``` Here is a video showing the git commands in action [Embedded content](https://www.youtube.com/embed/OSlZ5vzMZaI)