Online editing: now with more CRUD

By on February 24, 2014

With Bitbucket you can edit any file, anywhere, all you need is your browser. But we’ve been missing one thing: the ability to add new files from the web using the online editor. So we fixed it.

Starting today, you can now add new files directly to repository from the source browser; no command line, no cloning, no local editor.

Add new file from the source browser

After clicking New file, Bitbucket’s online editor will ask you the name of the new file you’d like to create. Syntax highlighting and diff view are all an integrated part of the code editing experience.

Add new file

Once you’re happy with your edits, commit directly to the branch you’re editing on, or create a pull request and select your reviewers. If you don’t have write access, Bitbucket will automatically create a fork for you and commit your changes before submitting a pull request.

Rename and delete

In addition to being able to add new files online, we added the ability to rename or delete unwanted files. To rename or delete a file, use the source browser and click on the Edit menu options.

Get started now

Join the growing number of teams that host their code on Bitbucket and stay better connected with unlimited private repositories free for 5 users.

Create a free account

  • Niels

    Great news. How about adding binary files to the repository? Like images…

  • Mladen Mihajlovic

    Great news but one single thing is missing. You can’t create a repository online and start using it. You still need to do that initial commit?!

  • TiagoBTT

    A word of caution! I edited an Windows 1252 source file (my old Delphi compiler doesn’t read UNICODE) just to add a single line. Doing that changed my source file to UTF-8. I can’t delete this commit online, I’ll need to fix it in my local repository and pushing the restored file. This is a mess.