Update # Version Control and Git Workflow
parent
3b565c0bdb
commit
542e1c331f
@ -12,17 +12,13 @@ Read
|
|||||||
Open your Terminal (Command Prompt or Git Bash).
|
Open your Terminal (Command Prompt or Git Bash).
|
||||||
Navigate to your desired directory where you want to clone the repository using the cd command. For example:
|
Navigate to your desired directory where you want to clone the repository using the cd command. For example:
|
||||||
|
|
||||||
```bash
|
|
||||||
cd path/to/your/directory
|
cd path/to/your/directory
|
||||||
Clone the Repository: Use the following command to clone the repository:
|
Clone the Repository: Use the following command to clone the repository:
|
||||||
|
|
||||||
```bash
|
|
||||||
Copy code
|
Copy code
|
||||||
git clone https://git.ourworld.tf/your_repo_url.git
|
git clone https://git.ourworld.tf/your_repo_url.git
|
||||||
Navigate into the Cloned Repository:
|
|
||||||
|
|
||||||
bash
|
Navigate into the Cloned Repository:
|
||||||
Copy code
|
|
||||||
cd your_repo_name
|
cd your_repo_name
|
||||||
|
|
||||||
For detailed Git commands and workflows, check out the [Github guide](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)
|
For detailed Git commands and workflows, check out the [Github guide](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)
|
||||||
@ -67,5 +63,5 @@ Before pushing your changes to the main repository, it’s essential to work on
|
|||||||
|
|
||||||
1. **Create a New Branch**:
|
1. **Create a New Branch**:
|
||||||
Always create a new branch from the `development` branch before making changes. Use the following command:
|
Always create a new branch from the `development` branch before making changes. Use the following command:
|
||||||
```bash
|
|
||||||
git checkout -b your_branch_name
|
git checkout -b your_branch_name
|
||||||
|
Loading…
Reference in New Issue
Block a user