Same remote repository is cloned (up to date) on two different machines (Home and Office)
- On Home machine I have added 3 commits (Not pushed to the remote)
- Created a bundle file by git bundle create fizz-buzz-app.bundle --all
git log
for repository looks like below:
abcdef00012 - (HEAD -> branch-a) BRANCH-A: Display customer address
abcdef00011 - (HEAD -> branch-a) BRANCH-A: Display customer email
abcdef00010 - (HEAD -> branch-a) BRANCH-A: Display customer name
abcdef00009 - (origin/branch-a) BRANCH-A: Create view for the customer
abcdef00008 - (origin/master) Merge branch 'branch-another' into 'master'
On Office machine I have same repository, but without 3 commits
git log
for repository looks like below:
abcdef00009 - (origin/branch-a) BRANCH-A: Create view for the customer
abcdef00008 - (origin/master) Merge branch 'branch-another' into 'master'
I have copied bundle file from usb to local directory on Office machine
How I can bring "missing" commits from bundle file to already existing repository?
I know I can clone it to new repository with git clone fizz-buzz-app.bundle
, but was wondering is there a possibility to "pull" 3 new commits from bundle file to existing repository.