branch - Cleaning a Git repository with rebase remote branches -
we aworking on project git, guy launch project , create git repository doesn't explain team how correctly , use git. arrived team last week , have been charged clean repositories messy.
first of all, there 13 sub-projects 13 repositories 1 final project. , 13 repositories has been badly used. example, repositories, there master branches unused since last march month... , there second branch develop directly used each developer.
last week tried explain how have better use of git branching , commands new team, think applied. @ moment enjoy again branching model in our repository.
at time, first, rebase remote branch develop on remote master branch date master branch (in end, "production" branch).
then keep develop branch renamed pre-production , used tag system each delivery on pre-production server
and conclude have third branch: new develop used (with pull request etc.) developers.
so can safely rebase remote develop branch on remote master branch ? or there risks , conflicts others developers ?
if it's not possible, best way correspond branching want set ?
thank help.
jean-timothée
Comments
Post a Comment