#7 new
Mihai Anca

Remove should delete .git/config entry

Reported by Mihai Anca | May 1st, 2008 @ 02:24 PM | in 0.6

I tried to remove rspec SVN repo then add the Git repo and now both appear in .git/config.

Comments and changes to this ticket

  • Mihai Anca

    Mihai Anca May 1st, 2008 @ 02:25 PM

    • → Title changed from “Remove should delete .git/remove entry” to “Remove should delete .git/config entry”
  • Mihai Anca
  • Norbert Crombach

    Norbert Crombach July 17th, 2008 @ 02:11 AM

    • → Assigned user changed from “” to “Norbert Crombach”
    • → Tag changed from “” to “remotes”
    • → Milestone changed from “” to “0.6”

    Yeah, I will look into this after the next release. I actually "use" this "feature" sometimes.

  • piotrb

    piotrb November 19th, 2008 @ 02:04 AM

    I actually found a practical use case where not cleaning up the remotes on remove makes a confusing mess

    1. add a braid of something at master
    2. remove that braid
    3. re-add the same braid at a branch

    what happens is braid ends up re-using the old remote, using master instead of the specified branch, leaving the dev scratching his head trying to figure out why its not pulling in the branch requested

  • Cristi Balan

    Cristi Balan November 20th, 2008 @ 12:28 AM

    @piotr: Even tho the example is a case for braid switch, I agree that we should be removing that remote too and maybe have a --keep flag to keep the remote.

    If you would be so kind, a patch would be great ;) as I don't have much time till later next week :/.

  • piotrb

    piotrb November 20th, 2008 @ 03:59 AM

    @cristi: alright you asked for it: http://github.com/piotrb/braid/

    let me know what you think, it seemed simple enough

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Braid is a simple tool to help track git and svn vendor branches in a git repository.

Tags