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

  • SEARCH
  • Home
  • 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 6911887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:00:54+00:00 2026-05-27T09:00:54+00:00

My problem: cygwin git doesn’t seem to correctly prompt for credentials when using https://

  • 0

My problem: cygwin git doesn’t seem to correctly prompt for credentials when using https:// URLs, so I used username and password in the URL. Unfortunately when I did a “get pull” it auto-commited a message with the full URL including password. I didn’t notice this until after I had pushed the changes.

How do I edit old commit messages to eradicate the password in the URL?

My shared git repo is on my own server. I can do surgery on the repo if necessary.

Instructions on how to change my configuration (i.e. don’t use Cygwin, don’t use https) are unnecessary — I’m trying to deal with what is already done.

Yes, I can and will burn the password but I’d still like to fix it.

  • 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-05-27T09:00:55+00:00Added an answer on May 27, 2026 at 9:00 am

    The link to removing sensitive data on git-hub is useful. However, I found a tool that was very straight-foward to use: Eric Raymond reposurgeon.

    This tool allowed me to easily import my repo, list the commits with the issue, edit them (I did so individually) and write out a git fast-import stream of my repo. I imported that stream into a new repo and rsync’d it into place.

    The downside is that my old repo is completely dead — I changed history. That would be true of using “git filter-branch” as well, according to the docs.

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

Sidebar

Related Questions

I'm using cygwin-git locally inside a CVS repository on Windows at my workplace, in
I have a problem: the auto_execok command doesn't work on Cygwin platform as expected.
I have successfully compiled node.js using cygwin on windows. The problem is that my
I am puzzled at a cygwin encoding problem. I am using its Mintty 0.8.3.
Problem Frequently (but not every time) when using CVS to check in files like:
I'm using Cygwin with GCC, and ultimately I want to read in a file
I've recently set up cygwin, git, and gitosis on my Windows Server 2003 box
I have a problem with the following code (Perl/Cygwin) #!/usr/bin/perl open FILE, >, filename.txt
I have a problem configuring my system for using the NDK over Windows. Those
I am developing a simple compiler in the cygwin environment using flex and bison

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.