{% load i18n %} {% load native %}

{% trans "Git repository quickstart" %}

{% trans "New repository" %}

{% blocktrans %}

If you want to create new repository simply follow example below.

{% endblocktrans %}
{% highlight_block bash cssclass="code-highlight" %} git init {{ project.slug }} cd {{ project.slug }} echo "This is readme" >> README git add README git commit -m "Initial commit" git remote add origin {{ clone_url }} git push origin master {% endhighlight_block %}

{% trans "Existing repo" %}

{% blocktrans %}

If you already have repository and you wish to push it here you would need to add remote to your repo and push it back.

{% endblocktrans %}
{% highlight_block bash cssclass="code-highlight" %} cd EXISTING_REPO_PATH git remote add origin {{ clone_url }} git push origin master {% endhighlight_block %}