Compare GIT bare repo and retultibutor bitbucket
1 answer
- create a local repository
- add a remote for your bare repository
- add a remote for the Bitbucket repository
- fetch from both repositories.
- make sure the relevant branches point to the same as the commits
I would do it like this:
git init
git remote add bare $bareuri
git remote add bitb $bitbucketuri
git fetch --all
gitk --all
I would expect to bare/master
point to the same message as bitb/master
etc.
+1
source to share