Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how does a complete beginner upload an existing git project into Bitbucket

Peter Ballard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 27, 2020

I have an existing project on my PC. How does a complete bitbucket beginner upload it to bitbucket?

I am sure this is documented somewhere, but I cannot get a straight answer. For instance this page https://confluence.atlassian.com/sourcetreekb/migrate-local-repository-to-bitbucket-cloud-951412224.html looks like the appropriate page. But step 1 says:

  1. Open the repository you want to migrate

So I assume that means the local repository on my PC? Then all I am getting is a very bare window. It looks nothing like the window I see in step 2 of the above page. It talks about the "Build status" column or the "File -> Migrate" menu option, but I cannot see anything like that in my Sourcetree window.

2 answers

0 votes
Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 28, 2020

Hi @Peter Ballard , welcome to the Community!

I'd start out by looking at this tutorial: https://www.atlassian.com/git/tutorials/learn-git-with-bitbucket-cloud

That should provide a nice overview of how repositories on your local computer interact with Bitbucket.

To more specifically address your question, you can use this other resource to add a remote URL to your local repository and then push it up to Bitbucket: https://www.atlassian.com/git/tutorials/setting-up-a-repository

Once you have a remote repo setup, you will need to add a remote repo url to your local git config, and set an upstream branch for your local branches. The git remote command offers such utility.

0 votes
Yogesh Mude
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2020

HI @Peter Ballard 

Welcome to the community!

Look at the below article, hope it helps..

https://community.atlassian.com/t5/Git-articles/Git-Basic-Commands/ba-p/866569

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events