New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing repo source in repo instructions for secondary project repo #413

Closed
wilsoc5 opened this Issue Apr 6, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@wilsoc5

wilsoc5 commented Apr 6, 2015

The Git Setup instructions that come with a new repository in a project are not properly adding the repository access links to the "git clone" or "git remote add origin" instructions.

Copy from new project page:

Setup New Repository :

  mkdir test1
  cd test1
  git init
  touch readme.txt
  git add readme.txt
  git commit -m 'Initializing test1 repository'
  git remote add origin 
  git push -u origin master
Setup Existing Repository :

  cd existing_git_repo
  git remote add origin 
  git push -u origin master
Clone Repository :

  git clone 

Expected:

Setup New Repository :

  mkdir test1
  cd test1
  git init
  touch readme.txt
  git add readme.txt
  git commit -m 'Initializing test1 repository'
  git remote add origin [ssh, https, http path to repo]
  git push -u origin master
Setup Existing Repository :

  cd existing_git_repo
  git remote add origin [ssh, https, http path to repo]
  git push -u origin master
Clone Repository :

  git clone  [ssh, https, http path to repo]
@wilsoc5

This comment has been minimized.

Show comment
Hide comment
@wilsoc5

wilsoc5 Apr 6, 2015

Applies to main repository as well.
Javascript error:

Uncaught ReferenceError: access_list is not defined                                    repository:128

Offending script:

<script>
  $(document).ready(function() {
    var key = $('.git_url_list li').first().attr('id');
    var access = access_list[key];                          <===== Error is here.

    $('.git_url_access').html(access.url);

    $('.git_url_list li').on('click', function(){
      var key  = $(this).attr('id');
      var access = access_list[key];

      $('.git_url_access').html(access.url);

      if (access.committer == true) {
        $('#repository_setup').show();
      } else {
        $('#repository_setup').hide();
      }
    });
  });
</script>

wilsoc5 commented Apr 6, 2015

Applies to main repository as well.
Javascript error:

Uncaught ReferenceError: access_list is not defined                                    repository:128

Offending script:

<script>
  $(document).ready(function() {
    var key = $('.git_url_list li').first().attr('id');
    var access = access_list[key];                          <===== Error is here.

    $('.git_url_access').html(access.url);

    $('.git_url_list li').on('click', function(){
      var key  = $(this).attr('id');
      var access = access_list[key];

      $('.git_url_access').html(access.url);

      if (access.committer == true) {
        $('#repository_setup').show();
      } else {
        $('#repository_setup').hide();
      }
    });
  });
</script>

@n-rodriguez n-rodriguez added the bug label Apr 8, 2015

@n-rodriguez n-rodriguez self-assigned this Apr 8, 2015

@n-rodriguez n-rodriguez added this to the v1.0.4 milestone Apr 8, 2015

@n-rodriguez n-rodriguez changed the title from Missing repo source in new empty repo instructions for secondary project repo to Missing repo source in repo instructions for secondary project repo Apr 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment