Delete Github integration

Hello :)

I just deleted a repository on GitHub 2 days ago. Unfortunately, IntelliJ Idea tells me my project is already on it...
I tried to use bitbucket (with the plugins) but it did not work.
So, now, I want to use GitHub again :p but when I choose "Import VC / Share Project On Github" I have a beautiful message : "Project is already on GitHUb"

Someone has an idea please to deal with this problem (Entirely cause by myselft unfortunately...)

Thank you for your futur answer :) See you !

6 comments
Comment actions Permalink

Hi,

Probably, your old remote is still in git config.

Try to remove

[remote "origin"]
     url = git@github.com:someuser/someremovedrepo.git
     fetch = +refs/heads/*:refs/remotes/origin/*


from your .git/config file.

But this shouldn't affect BitBucket plugin, I think.

0
Comment actions Permalink

Actually, I just succeeded to create a Repo after deleting Bitbucket plugins.
Unfortunately, I have an error, saying to me that I have to enter my email and global password... On Google, it is written it is because I am now considered like a new user...
So, Even if I click on commit changes, nothing happens...
In intellij IDea, how to delete the "previous" user, to tell git I am the only one now ?

Thank you :) see you :D

0
Comment actions Permalink

I can't understand the problem. ?:|

Which IDE version do you use ?
Is there are configured VCS for project in "Settings -> Version Control" ?
Is there are any errors/dialogs, when you are trying to commit changes ?
Do you able to work with git via console, or it's broken as well ?


Did you mean 'How to reset master password in IDE' ?
You could do it from settings:
IDEA 13 - Settings -> Password Safe -> Reset Master Password (http://blog.jetbrains.com/idea/files/2010/07/passwordsafe1.png)
IDEA 14 - Settings -> Appearance & Behavior -> System Settings -> Passwords -> Master Password -> Reset
You could have to restart IDE after.

0
Comment actions Permalink

I use 13.1.4 version :S
Yes settings are configured, I have the host "Github.com" and my account (Mail And Password) I click on "Test" and it tells me all is good.
This is what is see during the first commit (after creating the repo thanks to IntelliJ)

http://i.imgur.com/FJVBTxY.png
and the error

http://pastebin.com/Kp4azfgV

I tried to configure it via console but I failed;.. XD

If you have any idea :) I am really stuck :(

See you :D

0
Comment actions Permalink

This looks like https://youtrack.jetbrains.com/issue/IDEA-116304

The easiest way to fix this problem - is to do, what git asks you to do. To setup user and email.

Actually, IDEA should have show popup (https://youtrack.jetbrains.com/_persistent/Screen%20Shot%202013-11-11%20at%2023.37.59.png?file=74-143146&v=0&c=true&rw=1652&rh=1284&u=1401303803644).
But it fails and you have to set up git manually.

To solve problem, run
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
from command line.

If you are using Windows and dislike command line - just create file "C:\Users\<USER>\.gitconfig" with content

[user]
    name = John Doe
    email = johndoe@example.com

http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup

0
Comment actions Permalink

I finally delt with that problem !
Thank you !

Actually, I tried to use the global configuration, but It did not work because of the HOME environement variable!

So, if you have the same issue :
- Create an environment Variable called "Home", as value, gives any folder you want (I advice to use "C:/Users/TheUserYouWant"
- after that, open (wherever you want) a guit bash terminal ! (just right click on the desktop for exemple) and enter the command given by Aleksey :

AMPivovarov a écrit:

This looks like https://youtrack.jetbrains.com/issue/IDEA-116304

The easiest way to fix this problem - is to do, what git asks you to do. To setup user and email.

Actually, IDEA should have show popup (https://youtrack.jetbrains.com/_persistent/Screen%20Shot%202013-11-11%20at%2023.37.59.png?file=74-143146&v=0&c=true&rw=1652&rh=1284&u=1401303803644).
But it fails and you have to set up git manually.

To solve problem, run
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
from command line.

If you are using Windows and dislike command line - just create file "C:\Users\<USER>\.gitconfig" with content

[user]
    name = John Doe
    email = johndoe@example.com


http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup


That's all, thank you so much guy ! I was pulling my hair (painfully :p)

See you :D

0

Please sign in to leave a comment.