Reasons for not working on the master branch in Git
问题 So, I'm fairly new to git and I've after a bit of reading around over the last couple of weeks I've read a few people saying that the master branch shouldn't be changed but rather branched from and then merged to. I'm happy enough to work with branches but was wondering for the reasons behind not working on the master branch? 回答1: i guess the usual reasoning is, that the master branch should represent the 'stable' history of your code. use branches to experiment with new features, implement