Git Clone: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Improve instructions for updating repository)
Line 5: Line 5:
This will install this directory on your drive (to download the [[3D Printer Workbench]]
This will install this directory on your drive (to download the [[3D Printer Workbench]]


=Overwrite Protection=
=Updating a Repository After You Cloned It=
By default you can't overwrite when you are updating. So remove the past one:
Navigate to the repository in the command line using the <code>cd</code> or "change directory" command:


rm -r directoryname.
    cd path/to/repository


Then you can Git Clone again.
Run the <code>git pull</code> command to update the repository.


=Git Clone a New Civilization=
=Git Clone a New Civilization=

Revision as of 20:59, 25 April 2020

Git Clone is a useful command in Linux Shell. Example:

git clone https://github.com/gbroques/ose-3d-printer-workbench

This will install this directory on your drive (to download the 3D Printer Workbench

Updating a Repository After You Cloned It

Navigate to the repository in the command line using the cd or "change directory" command:

   cd path/to/repository

Run the git pull command to update the repository.

Git Clone a New Civilization

This is what the Open Source Ecology project is all about.

Links

  1. 3D_Printer_Workbench_2020#Summary