question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

github desktop shows me that i don't have write access when i want to revert 2 times ago commit

See original GitHub issue

Describe the feature or problem you’d like to solve

when i want to revert 2 times ago commit, github desktop shows me that i don’t have write access to my repo that i am sharing with my friends. and then it recommends creat a fork of this repo.

but i am the one who is the administrator of this repo…

it is a log file when i was trying to push the revert previous commit.

2020-05-19T16:20:31.705Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: AI_Academy - LimJoongSub (has token)
2020-05-19T16:20:33.386Z - info: [ui] Executing push: git -c credential.helper= -c protocol.version=2 push origin master:master --progress (took 1.601s)
2020-05-19T16:21:19.885Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: AI_Academy - LimJoongSub (has token)
2020-05-19T16:21:21.574Z - info: [ui] Executing push: git -c credential.helper= -c protocol.version=2 push origin master:master --progress (took 1.638s)
2020-05-19T16:22:18.550Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: AI_Academy - LimJoongSub (has token)
2020-05-19T16:22:20.232Z - info: [ui] Executing push: git -c credential.helper= -c protocol.version=2 push origin master:master --progress (took 1.625s)
2020-05-19T16:28:40.903Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: AI_Academy - LimJoongSub (has token)
2020-05-19T16:28:42.563Z - info: [ui] Executing push: git -c credential.helper= -c protocol.version=2 push origin master:master --progress (took 1.605s)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
quhb2455commented, May 25, 2020

i figured out this problem. i signed the other account in Github Desktop. i don’t know why i did like that. The id of account is same and password as well but name of account is different so Just check your account in Github Desktop.

1reaction
stevewardcommented, May 19, 2020

Thanks for the report @quhb2455. Just to clarify the issue – are you seeing an authentication error when you attempt to push your changes after performing the revert? Does pushing work outside of this specific situation?

Would you also mind uploading the entire log file? The portion you shared is not showing any error messages.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I revert multiple Git commits? - Stack Overflow
So the solution is to create a new commit which reverts changes that you want to get rid of. You can do this...
Read more >
Deleting commits | How, why and why not | GitHub Tutorial
Made a mistake and want to undo or hide it from GitHub ? Well, it's not the best to delete commits, but here's...
Read more >
Activity: Use the GitHub Desktop client | Documenting APIs
If you view your repository online, you'll see that the change you made has been pushed to the master branch on origin. You...
Read more >
Hosting your website on Github (article) | Khan Academy
Scroll down the page until you find the Commit area, and click “Commit new file”. Every time you create a new version of...
Read more >
GitHub Integration (Heroku GitHub Deploys)
After you link your Heroku app to a GitHub repo, you can selectively deploy from branches or configure auto-deploys. If you do not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found