Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cannot create a new file in Bitbucket

Fr0zt October 1, 2018

Hello.
I am running a bitbucket server v5.12.0.
I've created some repositories and I'd like to manually create new files.
I've read the Atlassian documentation and I know that once I am in my repo I should have a "create file" option but I don't have it. Do you know why?

PS: I am a bitbucket administratorbitbucket.png

1 answer

1 accepted

1 vote
Answer accepted
Aaron
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 1, 2018

Hello,

 

Welcome to the Atlassian Community!

 

I believe this is a Cloud vs Server document issue. What document did you read that said that? Bitbucket Cloud has the option to add a file in the UI. Bitbucket Server does not have the same option. I apologize for the misunderstanding here!

 

Regards,
Aaron Levinson
Dev Tools Support Engineer

Fr0zt October 1, 2018

I can check maybe tomorrow.

Is there a way to create a new file in bitbucket server?

If not what is the simplest way?

Aaron
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 1, 2018

To directly answer your question, no. There isn't a way to commit files in the UI.

Depends on what you mean by simplest. For me the easiest way is to clone the repository to my local machine and run:

 

  1. touch <file name>
  2. vim <file name>
  3. make edits
  4. git add .
  5. git commit -m "Commit message"
  6. git push

 

But if you aren't familiar with Git, SourceTree (or some other Git visualizer) might be easier to work with.

Fr0zt October 1, 2018

Yes, I am familiar.

I just wondered if I could do it through the UI.

 

Thanks.

Aaron
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 3, 2018

Ah, Unfortunately not. Currently, that is only functionality that Bitbucket Cloud has. Sorry for any inconvenience!

Scott Palmer October 22, 2019

Are there any plans to bring this feature to Bitbucket Server?

I am seeing a trend on several issues I am following..

Cloud version has it and there is no timeline for the on-prem version to get the same feature.  It would certainly seem to an outsider that the on-prem version is being left to rot slowly.

Like # people like this
richardnielsen December 16, 2020

Me too!

Lorenz
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!
May 19, 2022

We would like to see this along with a propper, modern Source Code Editor. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events