Project management tools are generally used when developing projects for many people. Here I give examples of my own Cornerstone
Submission – Commit
1. when using Cornerstone (code management class tools) for submission, note: Name + submit content brief. For example: XXX – modify the phone number function.
2. a lot of people just started using Cornerstone, project package was often playing dead, and then have to re upload the backup, no backup on the way to recover to a version that if Baidu can not recover, it is quite miserable.
In fact, the basic submission does not have much impact on the package, but it can lead to bad results if you commit a few moves. Such as:
.xcworkspace files basically do not move, the project is managed by cocoapods third party library, and if you have modified third party library, you will be prompted to submit this. But I have not succeeded at the moment. If I add a third party library and submit it, the project package will be blown up and all kinds of errors will be bad. (you know, Daniel can leave a message, tell me how to operate) I usually frame the package, and then upload, and then we based on this framework package for development. If you want it will remind everyone framework, I will present the package into a local framework to re upload, if you want to change the code in the new package of changes, or changes after remember the same changes in the new package.
Project.pbxproj this file only needs to be submitted when you submit the new file, such as the newly developed function, and the xxxxx.swift file, and then project.pbxproj and xxxxx.swift will be submitted together (Commit). If you add new pictures, you don’t need to upload this.
Recovery – Revert
If the xxx.xcodeproj file is broken and many people commit it, the package is damaged (it’s pretty easy at first!).
Then click on the blue one — Copy to Trash First will be fine.
Delete – Delete
Deletion can also be a problem! Deletion requires you to delete the files in the local project first, and then Cornerstone will be like this,
Check these two exclamation mark files, and reverse key Delete
After this is done, the two D files are selected and submitted together with project.pbxproj. If you delete the picture, it will directly become a D picture file, submit it.
Submit a record – Timeline
Timeline allows you to submit content (which files have to modify or add what), if required to play notes at the time of submission, can quickly find who changes or who submitted should not submit what caused the problem.
Summary: do not submit.Xcworkspace files, new additions and deletions of pictures, direct submissions, new additions and deletions of files, and submission with project.pbxproj. If you add or delete files without submitting project.pbxproj and submitting only files, the project will not be a problem. But people need updates to manually find the file directory they want to delete, or manually find the module to add files to add the file to