User name with spaces #677

Closed
opened 2025-11-02 03:32:58 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @RickZeeland on GitHub (Apr 29, 2017).

  • Gitea version (or commit ref): gitea-1.1-windows-4.0-amd64.exe
  • Git version: 2.12.2
  • Operating system: Windows 10
  • Database (use [x]):
    • [x ] PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • [x ] Not relevant
  • Log gist:

Description

When adding users in Gitea, the name can not contain spaces.
This is a bit awkward as we have all names configured with spaces, and this works without problems in GIT and TeamCity.

Originally created by @RickZeeland on GitHub (Apr 29, 2017). - Gitea version (or commit ref): gitea-1.1-windows-4.0-amd64.exe - Git version: 2.12.2 - Operating system: Windows 10 - Database (use `[x]`): - [x ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x ] Not relevant - Log gist: ## Description When adding users in Gitea, the name can not contain spaces. This is a bit awkward as we have all names configured with spaces, and this works without problems in GIT and TeamCity.
Author
Owner

@bkcsoft commented on GitHub (Apr 29, 2017):

There's a difference between username and fullname, one can't create a username with space on GitHub or other sites either. You can however set the fullname to whatever you want :)

@bkcsoft commented on GitHub (Apr 29, 2017): There's a difference between username and fullname, one can't create a username with space on GitHub or other sites either. You can however set the fullname to whatever you want :)
Author
Owner

@RickZeeland commented on GitHub (Apr 30, 2017):

Then I find the help on https://help.github.com/articles/setting-your-username-in-git/ very confusing, in the example "Mona Lisa" is used as a user name.

@RickZeeland commented on GitHub (Apr 30, 2017): Then I find the help on [https://help.github.com/articles/setting-your-username-in-git/](url) very confusing, in the example "Mona Lisa" is used as a user name.
Author
Owner

@cez81 commented on GitHub (Apr 30, 2017):

username != user name. username is name to sign in to system whilst user name is the name of the user. The setting configured in the example is the user name.

@cez81 commented on GitHub (Apr 30, 2017): username != user name. username is name to sign in to system whilst user name is the name of the user. The setting configured in the example is the user name.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#677