
-
Create a branch on Gitlab.
-
git pull
-
git checkout <branchname>
-
Add only files that make up a small and coherent change
git add <file1> <file2> ...
-
Start an editor which lets you separate the commit message subject from the body.
git commit
-
Update your feature branch with the latest changes from the master by interactive rebase.
git rebase -i master
-
If you don’t have conflicts, skip this step. If you have conflicts, resolve them and continue rebase.
git add <file1> <file2> ... git rebase --continue
-
Push your branch.
git push
If you change git history on your feature branch you may need to use the -f or --force flag.
-
Make a Merge Request. Assign peer reviewer.
-
Merge request will be accepted, merged and closed by a reviewer.
-
Remove your local feature branch if you're done.
git branch -d <branchname>
(16)
Related blog posts

How to Refresh Your Browser the Right Way (Guide for Windows and macOS)
How to Refresh Your Browser the Right Way (Guide for Windows and macOS)
Updating your browser is not just about pressing the refresh button on a page. Sometimes, browser caches like images, scripts, and styles can prevent you from seeing the latest...

Stop using dashes in ChatGPT, Stop the Cringe
Stop using dashes in ChatGPT, Stop the Cringe
Stop overusing dashes in ChatGPT writing. Learn why they weaken clarity and how to replace them with better punctuation for cleaner text.