Some problems with git Synchronize test environment and formal environment code

at present, we do this.
code is submitted to the test server-> formally pull the code, but with more versions like this, will the .git file get bigger and bigger.

Jun.18,2021

our company pulls the official station code, the latter maintenance is, a function new branch, after writing on the branch, merges the branch into the test station, the test is no problem, then merge the function branch to the official station, at the same time delete this function branch. For a long time, it may lead to the test station and the official station is too different, will Synchronize.


just pull the master code for the formal server. You don't have to pull all the branches over the formal server

.
Menu