rebase (multiple commits and unnessary commit) is not good! >> option use squash (combines file from the last merge stage)
main branch > remote main > pull >>>> push > feature branch >>> git rebase -i main
a. how to use rebase >>> move to main >> current git pull origin main >> git rebase -i main >> editor is visible >> insert mode click i to change mode >> p, pick = use commit!! + s pick others below will be squashed...>> commit
>> esc -> :wq!
============