I'm just starting to use version control, and my head is spinning! I am trying to wrap my head around branches, validating, merging and reloading. I am sure these are stupid questions, but really appreciate some help.
My projects are PHP. I use Aptana Studio for my IDE, Bitbucket and SourceTree for the Git GUI.
Therefore, I think I can have a general idea of how this should work now. Please tell me where I am going wrong.
Let's say I want to add a new function. I have a branch of the master. In Aptana, I can right-click the file -> Go to command , and then create a new branch. I can name this feature a1bc branch. I am making my changes.
As soon as I am done with this function and all the changes, I click Command → Commit , then Command → Merge Branch → Wizard . This will merge my changes back into the master repo.
Is this roughly how I will add features, etc.? And what should I do if I have another 100 functions over time? Do I keep all these function branches or delete them after combining them?
source share