Committing a branch in git

0
After migrating to git when I am committing a branch, the changes are automatically committed to main line
asked
1 answers
0

Hi Mehraj,

I think you are directly working on main branch, try changing the branch line from repository or you can use GitHub desktop app to switch the branch and commit your work.

answered