[TYPO3-core] [GIT] Best practice with daily tasks
Steffen Kamper
info at sk-typo3.de
Tue Mar 1 20:02:54 CET 2011
Hi Stefano,
thanks for the explanations.
I already configured everything to use short commands.
What you describe is pushing into a branch. This means the remote branch.
(is this allowed with gerrit?)
What i was looking for is to commit to a new local branch.
Let's say, i did some changes in my local master. Now i want to commit
it into a new branch. Long way would be:
checkout to a new branch
merge master into this branch
commit
I didn't found this when looking for commit
http://www.kernel.org/pub/software/scm/git/docs/git-commit.html
So i think, it's always recommended to checkout a new branch whenever i
change code to work on an issue. i just was surprised by Peters skype
answer "Icommit to master but ... yeah ... new branch ... :)
vg Steffen
More information about the TYPO3-team-core
mailing list