Workflow
🚫
Important
To ensure a smooth editing process and avoid potential issues, make sure you are working with the latest files from Git.
If you have already cloned the repository, don’t forget to run git git pull origin "Branch_Name"
.You can skip step 1.
In this example, we will be editing the training-ap-panorama.
1.Clone existing repository.
Example:terminal
git clone [email protected]:training/training-ap-panorama.git
2.Create a Branch
terminal
git checkout -b 'Branch_Name'
3.Make file changes.
4.Stage or add your changes.
Example:Stage a specific file:
terminal
git add <filename>
Stage all files:
terminal
git add .
Stage a folder:
terminal
git add [folderpath]
To unstage a file, use
terminal
git reset HEAD [filename]
5.Commit the changes you’ve made.
Example:terminal
git commit -m '<commit_message>'
6.Push your changes.
terminal
git push origin 'Branch_Name'
7.Create Merge Request.
https://gitlab.forge99.com/your_project_group/your_project_url
Last updated on