Assembla Git makes it easy for your entire software team to collaborate on code development and changes with built-in features like auditing, permission management, and code reviews. Importing a Git repository directly to Assembla is so simple, it can be accomplished by:
Step 1: Creating an empty Git repository in Assembla
To create an empty Git repository in Assembla
In Assembla, click the Quick Add button, and then select New Repository.
In the Create New Repository window, select a space or project in which you want to create the repo, name your repository, and then click Import repository.
Type the URL from which you want to import the repository, and then click Import repository.
Once imported, the new repository appears in Assembla.
Step 2: Cloning your current repository
Using your command line tool, enter the following command to create a mirror clone. This is not a working copy, but does include all of the non-branch refs required to replicate your current repo.
$ git clone --mirror <current_clone_url>
Step 3: Pushing the mirror clone to your Assembla repository
Once you've cloned your repo, then use the clone URL (which can be found in your Assembla account) as well as the following command to push your mirror to its new home in Assembla.
$ git push --mirror <assembla_clone_url>
For users with the new Assembla UI
Adding a repository to your space
When creating a new space, you can create the space with a repository by checking the Create with repository box on the first step.
Alternatively, if you would like to create a repository in an existing space, click the Quick Add button, and then select New Repository. The wizard will ask you to select the Space you would like to create your repository in, as well as what you would like to name your repository and what type of repository it is.
If you would like to import an existing repository from an external location, select Import repository, and then type your repository's URL and, if necessary, access credentials.
Adding a Bitbucket repository to your space
To import a private Bitbucket repository that requires authentication credentials, use your Bitbucket username as normal. For the password, you should generate an App password by opening your Settings, navigating to the App passwords page using the left sidebar, and then clicking the Create app password button on the page. We suggest labeling the password Assembla to remind you where the password is used. This app password should then be used in the Password field of the Assembla repo importer tool.
Need help? Please contact us at support@assembla.com.