Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.
Commentaire: Add screenshots

...

  1. Open your repository in kgcoe-git.rit.edu
  2. Click on the "Clone" button
    Image Added
  3. Copy the repository URL
    1. This URL should like this: 
      git@kgcoe-git.rit.edu:<user>/<project>.git
  4. On Linux/Mac:
    1. Open your terminal and navigate to your repository
    2. Run the following to update your URL:
      git remote set-url origin <url_from_step_3>
    3. Run the following to verify that the change has been made: 
      git remote -v
  5. On Windows w/ Git Bash:
    1. Open Git Bash and navigate to your repository
    2. Run the following to update your URL:
      git remote set-url origin <url_from_step_3>
    3. Run the following to verify that the change has been made: 
      git remote -v
  6. On Windows w/ GitHub Desktop Client:
    1. Open the GitHub  Desktop Client and select your repository
    2. Click the "Repository" menu, then  "Repository settings..."
      Image Added
    3. Click "Remote"
    4. Change "Primary remote repository" to the URL you copied in Step 3
      Image Added
    5. Click "Save"
  7. On Windows w/ TortoiseGit:
    1. Open File Explorer and navigate to the folder containing your repository
    2. Right-click on your repository folder and select "TortoiseGit", then "Settings"
      Image Added
    3. Click "Git", then "Remote"
    4. Select "origin" on the right side of the window
    5. Change the "URL" field to the URL you copied in Step 3
      Image Added
    6. Click "Apply"
    7. Click "OK"
  8. Alternatively, if all of your changes have been pushed to kgcoe-git.rit.edu, you can delete your local copy of the repository and clone it again
    1. Verify that all of your changes have been pushed to kgcoe-git.rit.edu:
      git status
    2. If you're unsure whether all of your changes have been pushed, do not use this method
    3. Delete the folder containing your local copy of the repository
    4. Clone a new copy of the repository using your preferred method (e.g. terminal, Git Bash, TortoiseGit)