Forums

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

How do I add an exist java project to a git repository

Genevieve Goulet
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!
November 15, 2019

I am new to using the command prompt and the only instructions under "Step 2: Add a file to your local repository and put in on Bitbucket" is to create a new file. I am looking to add an existing java project instead. What command should I use to make this happen?

Thank you!

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 20, 2019

Hi Genevieve, welcome to the Community!

The steps are different depending on which stage you're in. Looks like you already have an existing file so you'll just need to push that one to Bitbucket.

All possible scenarios can be found at Repository setup.

If you don't have Bitbucket Cloud but Bitbucket Server, you'll find the instructions at Importing code from an existing project.

Hope that helps you, Genevieve. Let us know if you have any questions.

Kind regards,

Ana 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events