We will be doing some git practice by trying out some git commands with the repo you have cloned.
This is a checkpoint...
If at any point you have forgot the commands, check out the notion or search google.
-
Make a new branch called "task/exercise-1"
-
Create a file called "journal.txt".
-
In journal.txt, copy the following lines:
Step 1: Clone your repository Step 2: Learn git today from the exercises in this readme Step 3: Profit
-
Once the file is created with the copied text, stage your changes in the "task/exercise-1" branch
-
Commit all your changes
-
Push your changes onto gitlab
-
Make a merge request on gitlab
-
Merge your changes into main. You can squash the commit and delete the branch in this case.
**
**
- Pull the latest changes from main
- Run
sh merge.sh
if you are on a mac or run.\merge.ps1
if you are on windows - Resolve the merge conflict by choosing the current changes
- Make a merge request towards main
- Merge the merge request