I have a topic branch "featrue_A".
In order to test on the test machine,i push it to git server and test machine pull it down from the server then do the testing
Is this a good practice?Because I don't want to git archive and cp every time I test.
If I do so.How should I clean up the topic branch? I know
git branch -d
andgit push origin :[branch_name]
to delete local & remote branch.But what about the branch on the test machine? And what if many other client had pulled this branch?Because by defaultgit pull
will pull all the branch on the remote.So every guy has a empty reference.And if they in that corresponding local branch andgit push
,that branch will be added on the server again!!
Thanks :)