Currently I have an website on a .zip file containing also the .git directory and all the history. I want it to be imported into an Assembla git repository preserving the history of all previous changes. Is there an easy way of doing it?
Asked
Active
Viewed 1,276 times
2 Answers
1
extract your zip, navigate to it in your shell, and do git push <git assembla url> :
. this should push all the refs to the new assembla repo.

Matt Briggs
- 41,224
- 16
- 95
- 126
-
I am trying to do so but I get: No refs in common and none specified; doing nothing. Perhaps you should specify a branch such as 'master'. fatal: The remote end hung up unexpectedly error: failed to push some refs to 'git@git.assembla.com:xxxx.git' What else can I do? – Jacobo Tibaquira May 06 '10 at 01:41
-
@Jacobo Perhaps you should specify a branch such as 'master'. – Jakob Borg Jan 16 '11 at 15:39
-
you may need to update your .git/config file and remove an existing origin definition, just delete those lines. Then follow instructions in assembla: git remote add origin git@git.assembla.com:
.git git push origin master – PhoebeB Feb 27 '11 at 12:20
0
If you cannot push to an assembla repo, check your ssh keys, like in this thread.
ssh -v git@git.assembla.com
And see if there was not too much login errors in your tries:
Your IP was added to blacklist due login failure to our server.

VonC
- 1,262,500
- 529
- 4,410
- 5,250