Forums

wtp to git conversion

Hi does anyone know how to convert a w2p pack file to a .git repo file. Our bitbucket code is old and we want to pack the current code on python anywhere and put it back onto bitbucket. Any ideas?

What is w2p? The only references I can find online seem to refer to web to print and that doesn't make sense in this context.

I imagine CSUARGames is referring to a web2py 'packed application' (i.e. a tarball containing the app's files).

I've never worked with web2py, but I imagine if all you want to do is get the files into a git repo you could just extract them from the tarball (tar -xvf somefile.tar), put them into a folder and create a repository from there.

Ah. Yes, that makes sense. If that's the case then you're perfectly correct.