[EDIT: Question modified based on initial feedback]
I have a local git repo on my pc, to which I've been committing my own changes, I've been working on a single master branch.
Now, I need to let in another dev and I'm going to use the "bundle" method to collaborate in an "offline" fashion (see: Workflow and setup of a bare git repository for transferring project/changes/commits to offline repository on a seperate machine?).
So, I created a bundle like this:
cd myrepo
git bundle create repo.bundle HEAD master
and gave it to the developer. He, in turn, created the repo with and created his own branch master-other:
git clone repo.bundle newrepo
git branch master-other
git checkout master-other
He did some modifications and committed them. Now, say I want to import his mods back to me. The following command works fine:
git bundle create new_commits.bundle master-other ^ffffff
Now I am unsure what I want on the first machine which created the original bundle.
Do I want to import his changes with:
git pull new_commits.bundle master-other
This command creates a situation like this:
* aaaaaaa (HEAD -> master) Merge branch 'master-other' of new_commits.bundle
|\
| * bbbbbbb commit by other person 2
| * ccccccc commit by other person 1
* | ddddddd a commit I made after doing the bundle
|/
* ffffff my last commit
Or do I want to create another branch called master-other and import his commits there and then merge back to my master branch?
Or something else?
The objective is to keep a working repo on my side, as well as giving back to the other developer my changes too.
Thanks a lot!