You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit file workflow for creating a fork and proposing changes
When viewing a file that the user can't edit because they can't write to
the branch, the edit button is no longer disabled.
If no user fork of the repository exists, there is now a page create one.
It will automatically create a fork with a single branch matching the one
being viewed, and a unique repository name will be automatically picked.
If the fork exists, an message will explain at the top of the edit page
explaining that the changes will be applied to a branch in the fork. The
base repository branch will be pushed to a new branch to the fork, and
then the edits will be applied on top.
This all happens when accessing /_edit/, so that for example online
documentation can have an "edit this page" link to the base repository
that does the right thing.
Copy file name to clipboardExpand all lines: options/locale/locale_en-US.ini
+10-1
Original file line number
Diff line number
Diff line change
@@ -1334,7 +1334,6 @@ editor.cannot_edit_non_text_files = Binary files cannot be edited in the web int
1334
1334
editor.edit_this_file = Edit File
1335
1335
editor.this_file_locked = File is locked
1336
1336
editor.must_be_on_a_branch = You must be on a branch to make or propose changes to this file.
1337
-
editor.fork_before_edit = You must fork this repository to make or propose changes to this file.
1338
1337
editor.delete_this_file = Delete File
1339
1338
editor.must_have_write_access = You must have write access to make or propose changes to this file.
1340
1339
editor.file_delete_success = File "%s" has been deleted.
@@ -1394,6 +1393,16 @@ editor.user_no_push_to_branch = User cannot push to branch
1394
1393
editor.require_signed_commit = Branch requires a signed commit
1395
1394
editor.cherry_pick = Cherry-pick %s onto:
1396
1395
editor.revert = Revert %s onto:
1396
+
editor.fork_create = Fork Repository to Propose Changes
1397
+
editor.fork_create_description = You can not edit this repository directly. Instead you can create a fork, make edits and create a pull request.
1398
+
editor.fork_edit_description = You can not edit this repository directly. The changes will be written to your fork <b>%s</b>, so you can create a pull request.
1399
+
editor.fork_failed_to_push_branch = Failed to push branch %s to your repoitory.
1400
+
editor.cannot_find_editable_repo = Can not find repository to apply the edit to. Was it deleted while editing?
1401
+
editor.fork_not_editable = Fork Repository Not Editable
1402
+
editor.fork_internal_error = Internal error loading repository information about <b>%s</b>.
1403
+
editor.fork_is_archived = Your repository <b>%s</b> is archived. Unarchive it in repository settings to make changes.
1404
+
editor.fork_code_disabled = Code is disabled in your repository <b>%s</b>. Enable code in repository settings to make changes.
1405
+
editor.fork_no_permission = You do not have permission to write to repository <b>%s</b>.
0 commit comments