working with hosted git repositories and sublime text

bitbucket, git, sublimetext2

Solution

Is the process just to git clone the repository and have it automatically download to a directory, where I would then work off of and commit to the hosted repository?

You first work off locally, in the repo you have just cloned. And you can clone it wherever you want on your local machine.

You first make a few commits (locally).

You can then push those commits back to the bitbucket repo, which is your remote repository.

See for more on the DVCS (Distribted VCS) the answer "Sell me Distributed revision control"

Regarding SublimeText, you can look at plugins like SublimeGit, a Full-featured Git integration for Sublime Text 2 and 3 (but it cost 10$).

Or sublime-text-2-git (free).

Problem

I haven't really used any version control until now, when a colleague sent me an invite for a project that is hosted on bitbucket. I'm not entirely sure what the workflow is supposed to be, but I do know I have git installed on osx and have used it locally briefly. Is the process just to git clone the repository and have it automatically download to a directory, where I would then work off of and commit to the hosted repository? I've done that in terminal and it dropped the files in my home directory. For git, can I move that directory to where my htdocs folder is, or does it have to "stay" there? Next, I'm not sure how to integrate it into Sublime Text. I have git and package control installed, but when I Add Repository and enter the url the repository, it just says "added successfully" and I don't know where or if the files were downloaded.

Original source

Related problems