Repository #1438

Closed
opened 2025-11-02 04:00:49 -06:00 by GiteaMirror · 12 comments
Owner

Originally created by @kevinl8890 on GitHub (Jan 10, 2018).

  • Gitea version (or commit ref): 1.3.2
  • Git version: 2.7.4
  • Operating system: Ubuntu 16.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

When I push a file to gitea repository the file owner be change to Bo-Yi Wu please check it in my attachment.

Screenshots

gitea_bugreport

Originally created by @kevinl8890 on GitHub (Jan 10, 2018). <!-- ![gitea_bugreport](https://user-images.githubusercontent.com/24778762/34784338-efde13da-f668-11e7-8578-4397563104ae.png) --> - Gitea version (or commit ref): 1.3.2 - Git version: 2.7.4 - Operating system: Ubuntu 16.04 - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [X] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [X] No - [ ] Not relevant - Log gist: ## Description When I push a file to gitea repository the file owner be change to Bo-Yi Wu please check it in my attachment. ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** --> ![gitea_bugreport](https://user-images.githubusercontent.com/24778762/34784005-06204c22-f668-11e7-82c8-59cf81c59000.png)
GiteaMirror added the issue/staleissue/needs-feedback labels 2025-11-02 04:00:49 -06:00
Author
Owner

@thehowl commented on GitHub (Jan 10, 2018):

That is not the repository owner, simply who created the commit.

@thehowl commented on GitHub (Jan 10, 2018): That is not the repository owner, simply who created the commit.
Author
Owner

@kevinl8890 commented on GitHub (Jan 10, 2018):

Oh.. but the creator was wrong.
I am commit it but it show Bo-Yi Wu.

@kevinl8890 commented on GitHub (Jan 10, 2018): Oh.. but the creator was wrong. I am commit it but it show Bo-Yi Wu.
Author
Owner

@kevinl8890 commented on GitHub (Jan 10, 2018):

I correct this problem.
It normal when I setting the user.name and user.email.
If the user.name and user.email are empty the creator will be Bo-Yi Wu. XD

@kevinl8890 commented on GitHub (Jan 10, 2018): I correct this problem. It normal when I setting the user.name and user.email. If the user.name and user.email are empty the creator will be Bo-Yi Wu. XD
Author
Owner

@thehowl commented on GitHub (Jan 10, 2018):

If user.name and user.email are not set on your user's gitconfig on your computer, then git AFAIK shouldn't even let you commit. Did you make the commit through the web gitea UI?

@thehowl commented on GitHub (Jan 10, 2018): If user.name and user.email are not set on your user's gitconfig on your computer, then git AFAIK shouldn't even let you commit. Did you make the commit through the web gitea UI?
Author
Owner

@kevinl8890 commented on GitHub (Jan 10, 2018):

I am commit via linux console. All commit in command line.
Actually I clone the repository first then add a file to commit.

@kevinl8890 commented on GitHub (Jan 10, 2018): I am commit via linux console. All commit in command line. Actually I clone the repository first then add a file to commit.
Author
Owner

@thehowl commented on GitHub (Jan 10, 2018):

Didn't this happen, since you hadn't set name and email?

image

@thehowl commented on GitHub (Jan 10, 2018): Didn't this happen, since you hadn't set name and email? ![image](https://user-images.githubusercontent.com/4681308/34789631-4540fc0e-f63f-11e7-95d5-195bbc201e46.png)
Author
Owner

@kevinl8890 commented on GitHub (Jan 11, 2018):

My case was happened in Alibaba cloud and following is my step.

  1. I create a repository in gitea web ui.
  2. I clone this repository into my Linux directory.
  3. I add a file into this directory.
  4. Commit
  5. Push
  6. See the wrong creator in gitea web ui.
@kevinl8890 commented on GitHub (Jan 11, 2018): My case was happened in Alibaba cloud and following is my step. 1. I create a repository in gitea web ui. 2. I clone this repository into my Linux directory. 3. I add a file into this directory. 4. Commit 5. Push 6. See the wrong creator in gitea web ui.
Author
Owner

@zeripath commented on GitHub (Jan 26, 2019):

Are you making commits directly from a docker instance?

@zeripath commented on GitHub (Jan 26, 2019): Are you making commits directly from a docker instance?
Author
Owner

@appleboy commented on GitHub (Jan 26, 2019):

Can't reproduce in my machine.

@appleboy commented on GitHub (Jan 26, 2019): Can't reproduce in my machine.
Author
Owner

@zeripath commented on GitHub (Jan 26, 2019):

@kevinl8890 What did you use to create your alibaba cloud instance?

@zeripath commented on GitHub (Jan 26, 2019): @kevinl8890 What did you use to create your alibaba cloud instance?
Author
Owner

@stale[bot] commented on GitHub (Mar 27, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Mar 27, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@stale[bot] commented on GitHub (Apr 10, 2019):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Apr 10, 2019): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1438