• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
Bartenders:
  • Piet Souris
  • Mikalai Zaikin

Change Git Account

 
Ranch Hand
Posts: 1402
3
Netbeans IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have two Git accounts the old one and the new one. I used the console to push my files from my local to my Git repo. Now I changed and when I push it still sends the files to the old one.

I use this:


It shows a messages like this:



I have changed the name of the origin and it sais that all is up to date. In reality the repository is empty.

Any idea, please?

Regards, Isaac
 
Author
Posts: 44
5
Python VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check how many remotes you actually have. Type:

git remote -v

Then you can delete one or the other remote as necessary.

The documentation for git remote shows how to delete remotes you no longer want. Remember: the remote is just a label or name.
 
Do not set lab on fire. Or this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic