Hello,
I'm beginning in using bitbucket
I want to know how to have the following directory structure
https://bitbucket.com/username/repository.git
where the repository is itself the eclipse project , i do not want to have the structure : a repository that contains the eclipse project. see please the image.Capture.PNG
I want to have directly the source code under the repository called TeleTPBundle.
thank for your help!
Hello, Sahar!
The issue you reported cannot actually be resolved through Bitbucket itself, but by recreating your .git repository. As you are using Eclipse, the best way to do that is to create a new repository inside Eclipse. Please follow the instructions below in order to create a new repository and have it as the root of the project.
IMPORTANT: Be sure to have a backup of your project! You never know what can happen...
If you have any additional doubts or face any trouble on the procedure indicated above, just respond to this answer.
Regards,
João
I assume you are using Eclipse as your Git client? It may not allow you to move the "root" or your repository into the TeleTPBundle folder. If you use a different git client, you should be able to go inside that folder, and initiate a git repository there (git init). You would have to delete the existing .git folder first.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i created first a repository called TeleTPBundle, then I created an eclipse project and i commit and push it locally then remotely and i got that result. However, i want to have the source code directly under the repository and not to have repository/project/source_code
and i cannot give the url https://bitbucket.com/username because it's necessary to give the url https://bitbucket.com/username/repository.git
Can you help me and tell me how to do?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What you want to do can definitely be done, but it will be easiest if you start over. How did you get your source on Bitbucket? Did you upload it directly? Did you push a local repository? If you have a local repository, what client are you using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.