Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using git with BitBucket [closed]

Tags:

git

bitbucket

I know there's a certain plugin, but I've never played with git plugins nor am that good with git. I just use rather simple workflow.

So, my question goes. How can I, (in simple terms if it's not a problem), upload a git project to BitBucket ?

If you know of any web tutorials that cover this, that would be equally good.

like image 819
Rook Avatar asked Aug 25 '11 15:08

Rook


People also ask

Can you use Git with Bitbucket?

The git pull command merges the file from your remote repository (Bitbucket) into your local repository with a single command.

Can we use Bitbucket without Git?

Bitbucket supports Git (but not SVN; and it no longer supports Mercurial VCS). It is written in Python and uses the Django web framework. And it is available for Mac, Windows Linux, iOS, and Android.

Does Bitbucket use same commands as GitHub?

git-sh is just modified git bash, there's nothing Github-specific in that. Both Github and Bitbucket are just hosting sites, meaning that you push/pull to/from them like any other remote repository - using git push and pull .


2 Answers

As of today, it appears that BitBucket supports GIT natively. I don't think their documentation is up to date yet however.

http://www.infoq.com/news/2011/10/bitbucket-git

like image 172
Peter Avatar answered Oct 20 '22 05:10

Peter


I use bitbucket daily.

  1. Log on to bitbucket.
  2. Set up a repository.
  3. Click clone in the webapp in your repository and copy the command to your clipboard.
  4. Paste the command into your terminal (assuming you have git installed).
  5. Copy all files for your project into the directory you cloned.
  6. type 'git push' and enter your bitbucket password.

Done!

like image 28
JasonG Avatar answered Oct 20 '22 03:10

JasonG