gitlab-org--gitlab-foss/app/views
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
..
abuse_report_mailer
abuse_reports
admin Add flash containers and broadcast messages below subnav 2016-10-01 00:21:37 +03:00
award_emoji Start Frontend work, fix routing problem 2016-09-19 19:50:40 +03:00
ci/lints Refactor fields in view 2016-09-30 12:22:55 +02:00
dashboard Added full-width new snippet button on mobile and corrected capitalization 2016-09-18 16:33:33 +01:00
devise fix LDAP omniauth regression (Closes: #22357) 2016-09-21 14:10:21 +10:00
discussions Changed to hash rocket and string 'true' 2016-09-27 23:50:09 +01:00
doorkeeper Removes class 'btn-link' of Revoke button 2016-09-26 12:13:45 +01:00
email_rejection_mailer
emojis
errors
events Remove redundant js-timeago-pending from user activity log 2016-08-31 11:20:48 -05:00
explore right-align dropdown menus to prevent horizontal page overflow 2016-09-29 13:28:09 -05:00
groups Merge branch '20310-new-project-btn' into 'master' 2016-09-21 11:37:51 +00:00
help Added keyboard shortcut to navigate to issue boards 2016-09-15 18:20:36 -04:00
import add missing space 2016-09-20 13:15:02 +02:00
invites
issues
kaminari/gitlab
koding Remove documentation rendering from /koding for now 2016-08-22 17:36:04 +03:00
layouts Add flash containers and broadcast messages below subnav 2016-10-01 00:21:37 +03:00
notify
profiles Add organization field to user profile 2016-09-27 14:04:39 +03:00
projects Merge branch 'document-need-owner-or-master-permission-for-initial-push' into 'master' 2016-10-03 07:48:53 +00:00
repository_check_mailer
search Merge branch 'search-commit-ui-fix' into 'master' 2016-09-16 23:43:26 +00:00
sent_notifications Improve the Unsubscribe confirmation page 2016-09-20 12:24:53 +02:00
shared Merge branch 'sort-within-labels' into 'master' 2016-10-02 10:19:40 +00:00
sherlock
snippets Merge branch 'full-width-new-snippet-button' into 'master' 2016-09-26 21:09:19 +00:00
u2f Pass the remember_me option into the u2f form and support it while authenticating 2016-09-01 17:11:42 -07:00
users Dispaly organization name at user page 2016-09-27 14:04:39 +03:00