Title: Git Identity is deleting my global git user.name and user.email values · Issue #2629 · atom/github · GitHub
Open Graph Title: Git Identity is deleting my global git user.name and user.email values · Issue #2629 · atom/github
X Title: Git Identity is deleting my global git user.name and user.email values · Issue #2629 · atom/github
Description: Prerequisites Put an X between the brackets on this line if you have done all of the following: Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode Followed all applicable s...
Open Graph Description: Prerequisites Put an X between the brackets on this line if you have done all of the following: Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#u...
X Description: Prerequisites Put an X between the brackets on this line if you have done all of the following: Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#u...
Opengraph URL: https://github.com/atom/github/issues/2629
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Git Identity is deleting my global git user.name and user.email values","articleBody":"\u003c!--\r\n\r\nHave you read Atom's Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/atom/.github/blob/master/CODE_OF_CONDUCT.md\r\n\r\nDo you want to ask a question? Are you looking for support? The Atom message board is the best place for getting support: https://discuss.atom.io\r\n\r\n--\u003e\r\n\r\n### Prerequisites\r\n\r\n* [x] Put an X between the brackets on this line if you have done all of the following:\r\n * Reproduced the problem in Safe Mode: \u003chttps://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode\u003e\r\n * Followed all applicable steps in the debugging guide: \u003chttps://flight-manual.atom.io/hacking-atom/sections/debugging/\u003e\r\n * Checked the FAQs on the message board for common solutions: \u003chttps://discuss.atom.io/c/faq\u003e\r\n * Checked that your issue isn't already filed: \u003chttps://github.com/issues?utf8=✓\u0026q=is%3Aissue+user%3Aatom\u003e\r\n * Checked that there is not already an Atom package that provides the described functionality: \u003chttps://atom.io/packages\u003e\r\n\r\n### Description\r\n\r\n\u003c!-- Description of the issue --\u003e\r\nWhen I open a file in the Atom editor while the Git panel is open, sometimes the Git Identity panel appears with no values set for my name/email even though these values were set in my global git config. When this happens, my global settings have been removed.\r\n\r\nFor example, prior to opening a file in the editor I see this in a terminal window:\r\n```\r\n\u003e git config --global -l \r\nuser.name=\u003cmy name\u003e\r\nuser.email=\u003cmy email address\u003e\r\n```\r\nThen in Atom I open a file in a repository I haven't used yet in the Atom session and the Git Identity panel appears without any data in it. I then run the command again and see my config has been modified improperly:\r\n```\r\n\u003e git config --global -l \r\nuser.name=\r\nuser.email=\r\n```\r\n\r\nThe `user.name` and `user.email` values are set to empty strings! This doesn't happen if I've edited something in that repository already, and doesn't always happen, but often enough that I'm concerned why Atom (git handling in particular) is making **ANY** changes to my global git settings. It should not!\r\n\r\n**Expected behavior:**\r\n\r\n\u003c!-- What you expect to happen --\u003e\r\nMy git identity set in global config should be used without modifying it.\r\n\r\n**Actual behavior:**\r\n\r\n\u003c!-- What actually happens --\u003e\r\nMy data is present but not used. But what's worse - it clears out my global data.\r\n\r\n**Reproduces how often:**\r\n\r\n\u003c!-- What percentage of the time does it reproduce? --\u003e\r\n100% when opening a file in a repository that hasn't been worked in yet in the session\r\n\r\n### Versions\r\n\r\n\u003c!-- You can get this information from copy and pasting the output of `atom --version` and `apm --version` from the command line. Also, please include the OS and what version of the OS you're running. --\u003e\r\nAtom : 1.54.0\r\nElectron: 6.1.12\r\nChrome : 76.0.3809.146\r\nNode : 12.4.0\r\nMacOS Big Sur version 11.2.1\r\n\r\n### Additional Information\r\n\r\n\u003c!-- Any additional information, configuration or data that might be necessary to reproduce the issue. --\u003e\r\n","author":{"url":"https://github.com/stvcisco","@type":"Person","name":"stvcisco"},"datePublished":"2021-02-22T17:07:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2629/github/issues/2629"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:77bc4ad3-2a85-8b02-744f-8a56aab0ac5a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8366:2781A3:67AAE6:8ABF2D:6A5EE73D |
| html-safe-nonce | ac171ffb2ecc0861a38c00c60d2ecba37aa320ab9de697071dd00392703adccc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzY2OjI3ODFBMzo2N0FBRTY6OEFCRjJEOjZBNUVFNzNEIiwidmlzaXRvcl9pZCI6Ijc5ODczNjkyNjIxODQzMjY5NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5d557957031bd52ebb68fad9b9aad989b4c1451c60595e603f01fba1c1ea1f7d |
| hovercard-subject-tag | issue:813689419 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/atom/github/2629/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4be94e2c448d4a84a928998788c8e11488020227a1c495ed135149a9f2ef5189/atom/github/issues/2629 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4be94e2c448d4a84a928998788c8e11488020227a1c495ed135149a9f2ef5189/atom/github/issues/2629 |
| og:image:alt | Prerequisites Put an X between the brackets on this line if you have done all of the following: Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stvcisco |
| hostname | github.com |
| expected-hostname | github.com |
| None | 82d0004a35927bdb00c652a57f456c55aa0eda4ade1bc7956d7510fdea6e454b |
| turbo-cache-control | no-preview |
| go-import | github.com/atom/github git https://github.com/atom/github.git |
| octolytics-dimension-user_id | 1089146 |
| octolytics-dimension-user_login | atom |
| octolytics-dimension-repository_id | 46155786 |
| octolytics-dimension-repository_nwo | atom/github |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 46155786 |
| octolytics-dimension-repository_network_root_nwo | atom/github |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d2d913dd727d2d7ac189fb4d05b10bc34ecd03ee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width