Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8737525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:32:33+00:00 2026-06-13T10:32:33+00:00

A friend and myself are sharing my computer. I’ve made pushes to GitHub using

  • 0

A friend and myself are sharing my computer. I’ve made pushes to GitHub using the git bash shell on Windows 7. Now we’re in a different project on that computer and I need her to push to her account. But it keeps trying to use my username and saying I don’t have access to her repository:

$ git push her_github_repository our_branch
ERROR: Permission to her_username/repository.git denied to my_username.
fatal: The remote end hung up unexpectedly

IMPORTANT: Support for password authentication was removed on August 13, 2021.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T10:32:35+00:00Added an answer on June 13, 2026 at 10:32 am

    If you use different windows user, your SSH key and git settings will be independent.

    If this is not an option for you, then your friend should add your SSH key to her Github account.

    Although, previous solution will keep you pushing as yourself, but it will allow you to push into her repo. If you don’t want this and work in different folder on the same pc, you can setup username and email locally inside a folder with git by removing -g flag of the config command:

    git config user.name her_username
    git config user.email her_email
    

    Alternatively, if you push over https protocol, Github will prompt for username/password every time (unless you use a password manager).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My friend and I are using GitHub to collaborate on a project, and I
My friend done this below coding for custom control <a href=javascript:__doPostBack('id','msg');>click</a> now i want
I am trying to fetch wall posts made by myself on friends'wall. I've read_stream,
I have a problem that I can't figure out myself. I've tried using LEFT
Myself and a friend have created a startup, but we are both software developers.
A friend of mine and I have been using Google Docs for a while
Currently a friend of mine and myself are working on a site together. We
For a site I'm making for myself and a friend, I have a div
I took a very heavy website of my friend and made a few changes
I have never used variadic templates myself, but think I could need them now.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.