gitlab-org--gitlab-foss/app/views/projects
Dmitriy Zaporozhets 81ee4436db Merge branch 'document-need-owner-or-master-permission-for-initial-push' into 'master'
document the need to be owner or have the master permission level for the initial push

## What does this MR do?

It documents the new behavior as discussed on gitlab-org/gitlab-ce#22543, because the `/protected_branch` URL of empty repository is not available and could mislead users.

## Are there points in the code the reviewer needs to double check?

Don't think so

## Why was this MR needed?

When you create a repository on GitLab, command line instructions on its home page for the use case _"Existing folder or Git repository"_ invite you to `git push -u origin master`, but the very first push is now rejected if you are not `Owner` or attributed `Master` permission.

## Screenshots (if relevant)

![Capture_d_écran_2016-09-30_à_14.55.20](/uploads/6ee2d36b4a32cb3a5faa68a10c1813f0/Capture_d_écran_2016-09-30_à_14.55.20.png)

## Does this MR meet the acceptance criteria?

- [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] API support added
- Tests
  - [ ] Added for this feature/bug
  - [ ] All builds are passing
- [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [ ] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

- new behavior was introduced here : gitlab-org/gitlab-ce@71dec8b1b6
- lack of documentation was discussed at gitlab-org/gitlab-ce#22543

See merge request !6608
2016-10-03 07:48:53 +00:00
..
artifacts
badges
blame Fix layout issues with blame table 2016-09-06 10:36:09 +01:00
blob Review changes 2016-10-01 00:01:47 +03:00
boards Shows count at bottom of list 2016-08-31 09:47:25 +01:00
branches Hides merge request button on branches page 2016-09-02 14:33:24 +01:00
builds Merge branch 'patch-5' into 'master' 2016-10-03 07:27:35 +00:00
buttons Fix download artifacts button link: 2016-09-19 13:12:45 +08:00
ci Commit status icon now links to pipelines tab of commit view 2016-09-27 22:11:13 +01:00
commit Rearranged commit tabs and changed commit Commit column header to Pipeline 2016-09-27 22:14:07 +01:00
commits Add flash containers and broadcast messages below subnav 2016-10-01 00:21:37 +03:00
compare Added temporary responsive design 2016-09-29 20:16:28 +01:00
container_registry
cycle_analytics Fix landing widget state and improve Vue with state management. 2016-09-23 15:07:54 +03:00
deploy_keys
deployments Replace play icon font with svg 2016-09-01 10:50:55 -05:00
diffs Merge branch '21369-make-it-clearer-that-diffs-can-be-collapsed' into 'master' 2016-10-01 10:59:32 +00:00
environments
find_file
forks Fix alignment of icon buttons (!5887) 2016-08-19 11:24:01 +02:00
generic_commit_statuses Fix spec failures 2016-09-14 17:33:07 +02:00
graphs Add flash containers and broadcast messages below subnav 2016-10-01 00:21:37 +03:00
group_links Add descriptions 2016-08-18 19:44:09 -05:00
hooks Add option to confidential issues events to trigger Webhooks 2016-08-31 18:34:23 -03:00
imports
issues Add flash containers and broadcast messages below subnav 2016-10-01 00:21:37 +03:00
labels remove instances of <input type="color" /> due to inconsistent browser support 2016-09-29 07:19:06 -05:00
merge_requests Fix duplicate master entries in the mr versions dropdown 2016-09-28 15:02:01 +03:00
milestones
network
notes Merge branch 'resolve-buttons-path' into 'master' 2016-09-26 23:00:55 +00:00
pipelines Add flash containers and broadcast messages below subnav 2016-10-01 00:21:37 +03:00
pipelines_settings
project_members Fix expiration date picker after update 2016-09-02 16:29:07 +01:00
protected_branches Remove unused attributes 2016-09-22 12:58:11 -05:00
refs Fix repo page ui issues, show full last commit message in repo view. 2016-08-31 18:28:15 +02:00
releases Fix layout of edit tags page 2016-08-18 13:32:20 -05:00
repositories Aggressively merge views, feedback: 2016-08-24 19:09:10 +08:00
runners Fix grammar and typos in Runners pages 2016-09-28 10:03:59 +02:00
services
snippets Merge branch 'full-width-new-snippet-button' into 'master' 2016-09-26 21:09:19 +00:00
tags add specs for tags finder 2016-08-31 19:16:47 +01:00
tree Move create MR banner below subnav 2016-10-01 00:21:37 +03:00
triggers Clean up and refactor the triggers views 2016-09-06 10:36:04 +02:00
variables Sort secret variables by key (fix #20870) 2016-09-09 15:06:50 -03:00
wikis Add flash containers and broadcast messages below subnav 2016-10-01 00:21:37 +03:00
_activity.html.haml Add white background to create MR banner 2016-10-01 00:21:37 +03:00
_bitbucket_import_modal.html.haml
_commit_button.html.haml
_errors.html.haml
_files.html.haml
_find_file_link.html.haml
_gitlab_import_modal.html.haml
_home_panel.html.haml
_last_commit.html.haml
_last_push.html.haml Add white background to create MR banner 2016-10-01 00:21:37 +03:00
_md_preview.html.haml
_merge_request_settings.html.haml Move "Only allow merge requests to be merged if the build succeeds" to new location 2016-09-05 14:15:57 +02:00
_readme.html.haml
_zen.html.haml Moved loading GFM source into zen.html.haml 2016-09-16 10:52:41 +01:00
activity.html.haml
edit.html.haml Improved helper methods, better flow for project.lfs_enabled?, and UI fixes. 2016-09-15 12:27:32 -05:00
empty.html.haml updated missed indentation 2016-09-30 13:50:23 +00:00
new.html.haml Fix GitLab import button 2016-09-02 08:19:14 +02:00
no_repo.html.haml
remove_fork.js.haml
show.atom.builder
show.html.haml Merge remote-tracking branch 'upstream/master' into artifacts-from-ref-and-build-name 2016-08-24 20:56:30 +08:00
transfer.js.haml
update.js.haml