diff --git a/pagure/templates/repo_info.html b/pagure/templates/repo_info.html index 8da64bf..c3c2160 100644 --- a/pagure/templates/repo_info.html +++ b/pagure/templates/repo_info.html @@ -17,15 +17,15 @@ {% if authenticated and repo_admin %}
If you already have a git repo:
git remote add origin {{ config.get('GIT_URL_SSH') }}{% if repo.parent %}forks/{% endif %}{{ repo.fullname }}.git - git push -u origin master+git push -u origin master
If you have not created your git repo yet:
git clone {{ config.get('GIT_URL_SSH') }}{% if repo.parent %}forks/{% endif %}{{ repo.fullname }}.git - cd {{ repo.name }} - touch README.rst - git add README.rst - git commit -m "Add README file" - git push -u origin master+cd {{ repo.name }} +touch README.rst +git add README.rst +git commit -m "Add README file" +git push -u origin master {% else %}
The Project Creator has not pushed any code yet
{% endif %}