The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to add a single file to a repository

Dion Oliphant
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!
March 23, 2015

Hi,

How do I add a single or a few selected files to a bitbucket repository using SourceTree

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Balázs Szakmáry
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 Champions.
March 23, 2015
  1. Clone the repo if you have not already done so
  2. Put the files in the folder where you cloned the repo
  3. Commit and push the changes

 

0 votes
Dion Oliphant
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!
March 23, 2015

Thanks for the answers.

0 votes
rahuldanwade
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 Champions.
March 23, 2015

Hi Dion

Which SCM do you use for your source code?

If it is GIT

Then add them bit by bit back in using git add.

git add [file-name-1.ext] [file-name-2.ext].....[file-name-n.ext]

git commit -m "X no of files added from Y no of  files"

git push origin master

that will do.

regards

Rahul Danwade

 

TAGS
AUG Leaders

Atlassian Community Events