Unable to understand Git branch, merge and rebase

后端 未结 4 2105
清歌不尽
清歌不尽 2020-12-05 16:15

I know the thread which says that rebase is for small changes of teamMates, while merge for large changes.

I keep three Gits of three teammates in the following dire

4条回答
  •  青春惊慌失措
    2020-12-05 17:15

    The fact that they are not inside the same git as you state doesn't limit you in any way. Git is distributed, which means that you can fetch between those repositories, merge, rebase, and so on.

    Look at git remote --help to see how you can name your teammates repositories in yours so that you can easily import their changes, rebase onto them or perform merges. There is no need to change your directory structure, yours is perfectly usable.

提交回复
热议问题