Github repository for Digital Twins Module
This guide provides step-by-step instructions for installing Git, setting up a workspace directory, and cloning a repository. This is essential for managing and collaborating on software projects using version control.
Before you begin, ensure you have the following:
- A working internet connection.
-
Update Package Index
Open a terminal and run the following command to update your package index:
sudo apt-get update
-
Install Git
Install Git using the package manager:
sudo apt-get install git
-
Verify Installation
Check if Git was installed correctly by checking its version:
git --version
-
Download Git
Go to the Git for Windows website and download the installer.
-
Run the Installer
Run the downloaded executable and follow the installation instructions. During the installation, you can choose the default options unless specific changes are needed.
-
Verify Installation
Open Command Prompt or Git Bash and type:
git --version
-
Install via Homebrew
If you have Homebrew installed, you can install Git with:
brew install git
-
Verify Installation
Verify the installation with:
git --version
-
Create a New Directory
Choose a location on your computer where you would like to keep your projects. Open a terminal or command prompt and navigate to that location. Then, create a new directory:
mkdir ee5108_workspace
-
Navigate to Your Workspace
Move into your newly created directory:
cd ee5108_workspace
-
Obtain Repository URL
Navigate to your desired repository on platforms like GitHub, GitLab, or Bitbucket. Click the "Code" button and copy the repository's URL.
-
Clone the Repository
In the terminal or command prompt, use the following command to clone the repository into your workspace directory:
git clone https://github.com/CARinternal/EE5108-Digital-Twins-for-Robotics.git
-
Access Your Cloned Repository
Once cloned, navigate into the repository directory:
cd EE5108-Digital-Twins-for-Robotics