I'm a new Git user and i have to look at the code of a project. the person who called me for that gave me his git access codes (email and password).
For sure, I tried to enter them directly in github website login form, but it ask me to enter a code sent to his own email...
it is for a work, and I don't know what to do... should I ask him to give me this famous verification code?
I got the feeling it is not very secure to process that way.
can you tell me how can I acces the repo with this type of information? the problem is that it is not an invitation to collaborate, but just email and password. Should I disconnect my own git account with my windows terminal to enter his own email and password?
thanks for your help!
For the moment, the owner of this site doesn't answer so that I can't work on his code.
Maybe you can login from your GitHub and then go to that person profile (by searching by username) and then view their repository. Then you can see that repository's code. For this solution, the repository should be public.
Related
I am using google authenticator for github 2FA code. My scenario is as follow
I can enter my password.
Google authenticator is gone after lost my phone. So I cannot type 2FA.
I choose Use a recovery code or request a reset.
I don't have recovery code and I choose Locked out? Try recovering your account.
Step 1: I do Verify an email associated with this account.
Step 2: I try Verify a device, SSH key or personal access token, I got the situation as follow.
I cannot choose any options in Step 2. The options are disable. I would like to know why this is happened. And I would like to get suggest to get out of this stuck. I would like to know directly mail contact for github support. I am asking in here because I cannot login to ask in support.github.com.
For example, will abc.github.io/verbose/ (abc being my current username) be changed to xyz.github.io/verbose/ when I change my username to xyz? Will it be automated through GitHub actions?
When you attempt to change your username on GitHub, they explicitly mention that no redirects for GitHub Pages will be set up. Therefore, all links pointing to oldname.github.io/verbose/ will no longer work. It is even possible for someone else to register an account (or organisation) using your old username and then host their website there.
Here is a screenshot of the dialog:
I received invitation for github but he provided with link let's say https://github.com/example/example2/invitations.
But when I try to access the link , it's giving me page not found error.
Is there any method that I need to pull this email to accept the invitation or the invitation link is simply not working?
I have logged into my git account but still it's not accessible.
But when I try to access the link , it's giving me page not found error.
Then your best bet is to ask the person who invited you to send you a new invitation. Perhaps they moved the project to a different repo or took some other action that invalidated your invitation, and they just need to send you a new one.
I don't know if anyone has any suggestions but I am in a bind!
I've lost access to my GitHub account via switching phone numbers and having 2FA enabled.
ssh -T git#github.com
I get denied, but I've provided GitHub with essentially everything I can, which are all my public SSH keys, password, correct email, a keychain on my Mac saying that I've logged in. I've made the mistake not getting recovery codes and I don't have access to the old phone. My past 1.3 years work of code is on GitHub for my company and I don't store any of my code on hardware as fear of theft, I know that's also a mistake, but it's a fear of mine.
It looks like I'm out of options according to GitHub, which is why I've came to StackOverflow. Are there any workarounds, I know EVERYTHING about the account, my credit card is on file.
The only thing I can think of is showing up to the offices with my ID and credit card on file. As my profile picture is me.
Any suggestions are appreciated. I have the public SSH keys, and a public key generated for one of my organizations, and still couldn't get 2FA disabled.
There should not be a workaround, especially for private repos, considering that "Recovering your account if you lost your 2FA credentials" states:
If you've lost access to your account after enabling two-factor authentication, GitHub can't help you gain access again.
Having access to your recovery codes in a secure place, or establishing a secondary mobile phone number for recovery, will get you back into your account.
So if the Git repos are cloned anywhere in your company, you might get them back. But not from GitHub itself.
In some available repositories I saw contributed users' profiles which I cannot visit - they are basically unavailable -> it's not even marked as link.
When I click on user profile - I can navigate to it. But when I click on this user another - it does nothing.
Do these users set some block or what?
It is possible those users have made contributions (pushed commits) done with a name+emai which doesn't match any GitHub account.
This is detailed in "Why are my contributions not showing up on my profile?".
In that case, their username would be displayed, but without any link to a GitHub account.
dennisschagt confirms in the comments:
I did some testing some time ago and GitHub uses the user.email field to link commits to users.
If there is no user with that email address, GitHub displays the value of user.name but then the name is not clickable.