I was working on a new feature, for the new feature create a branch called example. Created a lot of new folders and files in this branch.
There was a task with high priority to perform, so I went back to the master branch using git checkout master
.
Now I am in the master
branch, made the changes whatever I want to and wanted to push this to my master.
I performed git add -A
and git commit -m 'Priority 2016'
This got all the created folders and files in the testing branch.
What have I done wrong?
Any Help?