The use of git in the company is quite confusing, how can I fix it?
为情所困
为情所困 2017-05-02 09:50:02
0
4
731

There are always various conflicts, various coverages, and serious internal fighting. Do you feel like you can’t work anymore? How to fix it?

为情所困
为情所困

reply all(4)
仅有的幸福

One is that the use of git is not standardized.
One is that there is a problem with the allocation of development tasks.
The other is that there is also a problem with project file planning.
(PS: What is the infighting? Companies with few people say that sometimes it is lonely to use git alone. Ah.)

Ty80

.gitignore Ignore those useless things first, code conflicts are not terrible.

For example, Mac 都有一个文件 .DS_StoreIf you don’t ignore the fact that you and people who use Apple computers pull the code, there will be conflicts.

Don’t have multiple people operating a file at the same time. One or two are fine. If all the front-ends of the company edit it, it will give you a headache when you combine the code.

给我你的怀抱

I don’t know what infighting you are talking about. . .

It’s good if you follow git workflow. Link: https://guides.github.com/int...


Another option: change companies

小葫芦

I think it is a process issue. There must be a person who can review the code, and then push the code. Only after the review is it allowed to be merged into the main branch, and then the local branch is not allowed to be forced to be pushed to the server. There is very useful code. Hosting platform software, such as gitlab, allocates corresponding git permissions, and everyone can work easily

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template