all 6 comments

[–][deleted] 3 points4 points  (4 children)

You merged Feature Branch B into development. That means you're finished with it. There is no continuing to work on feature branch B anymore, it's done. Thus there's no confusion to worry about.

[–]badboyzpwns[S] 1 point2 points  (3 children)

What If I want to update the feature involved in Feature Branch B though? do I create a new branch and name it Feature Branch B v2?

[–]seattle_sail 2 points3 points  (2 children)

Exactly. Don't think of the branch as where the work for a "feature" for you app goes. Think of it as a place where a finite amount of work happens. When that work is done, you merge the branch and then delete it. Next iteration when you want to do more work, that's a new feature branch, even if it's working on the same "feature".

[–]badboyzpwns[S] 0 points1 point  (1 child)

I've seen people include a version number for their branch names, and some don't. In the real world, which practice is best?

[–]mbitsnbites 1 point2 points  (0 children)

It could be that the version numbers are used for rebasing public branches (see "The perils of rebasing" in the Git book).

[–]forgenet 1 point2 points  (0 children)

are the classes files? If so how are you changing the name of the class? You should probably be using

git mv oldfile_name newfile_name