I recently started using BitBucket due to their handy free private repositories feature.
I started out with a repo for class but I named it the class name, now I need to create another project, but I can't with the same primary name, and it doesn't make a lot of sense to put all the files under the same repo (the repo won't get huge or anything, but it's an organization issue). I found out there was a solution called Transfer Ownership (or transfer repository)
Teams to the rescue.
I created a team for my class, Then I created a new repo. But wait... that isn't how you should do it!
Create a Team (whatever name you want to give it)
NEXT create a Project (logically it would be your classes name). So I'll give an example structure below.
* Be Sure to select Private
Next you can take your existing repos and transfer ownership to that KBAI project (or whatever you call yours).
1. Go to your repo
2. Hit Settings.
3. Then Transfer Repository
4. Select the team you created above.
5. Now you select the project.
Or you can create a new repo, just point to the Project and everything for your "class" will fall under this project. Clones will be smaller as you won't clone all of them.
Now as you can see here are the repos grouped all nice and stuff.
Now if you click on Cognitive Cooking it's this is the clone path
git clone https://onaclov2000@bitbucket.org/onaclovtech/cognitivecooking.git
(Which is wrong for all intents and purposes, but pretending it's right, and I'll post a
followup regarding this).
You can see that the git repo is associated with the team, but the structure in bitbucket is that the repo is associated with a project, which allows some organization, but you also don't have to download one repo for your entire class or program or whatever, you can just have the repos grouped.
You'll want to make sure to update your
origin/master since they're probably pointing to the wrong place (if you're transferring repositories).
Good luck!