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 8932459
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:19:20+00:00 2026-06-15T09:19:20+00:00

i have really annoying problem, i deleted my former acount on heroku with all

  • 0

i have really annoying problem, i deleted my former acount on heroku with all the apps, then i created a new one ,
i wanted to add remote branch to git and then the problems started.

git remote -v 
heroku  git@heroku.com:freezing-moon-116.git (fetch)
heroku  git@heroku.com:freezing-moon-116.git (push)
origin  git@gitbus.fiit.stuba.sk:laser_kn/laser_kn.git (fetch)
origin  git@gitbus.fiit.stuba.sk:laser_kn/laser_kn.git (push)

git remote rm heroku 
error: Could not remove config section 'remote.heroku'


vim .git/config
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
        ignorecase = true
[remote "origin"]
        url = git@gitbus.fiit.stuba.sk:laser_kn/laser_kn.git
        fetch = +refs/heads/*:refs/remotes/origin/*

My question is how can i remove that broken remote heroku repo and add a new one ?

thx

  • 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-15T09:19:21+00:00Added an answer on June 15, 2026 at 9:19 am

    As git remote shows you the remote but .git/config does not, it seems like that remote is defined in another config file.

    To quote man git config:

    FILES
           If not set explicitly with --file, there are three files where git
           config will search for configuration options:
    
           $GIT_DIR/config
               Repository specific configuration file. (The filename is of course
               relative to the repository root, not the working directory.)
    
           ~/.gitconfig
               User-specific configuration file. Also called "global"
               configuration file.
    
           $(prefix)/etc/gitconfig
               System-wide configuration file.
    

    Have a look at ~/.gitconfig most likely you should find your remote there.

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

Sidebar

Related Questions

I really have problem with this one. So I have a jar with a
Hey guys, I have another really annoying problem in IE. I am using a
I have a really annoying problem with the Google Play filtering. I have an
At my company we have a really annoying problem with our linker (ld 2.17).
I have a really annoying problem with a deployed Grails application on tomcat 7
I have a css/html related problem that's really annoying me :( I have a
as we all experienced one time or more, it sometimes is really annoying to
I have a really annoying problem. I got this bunch of code which runs
Really annoying problem I can't solve/can only partially solve. Nice juicy one for you
I have a really annoying problem that I tried to solve for a few

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.