Managing Username/Passwords on multiple GitHub accounts (Windows) - HTTPS

  Рет қаралды 27,478

A shot of code

A shot of code

Күн бұрын

Пікірлер: 136
@mikro63tv94
@mikro63tv94 4 жыл бұрын
Not all heroes wears cape. Thanks for this..
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Best comment yet ta😎
@mikro63tv94
@mikro63tv94 4 жыл бұрын
@@Ashotofcode what is extension is that, where you can switch diffrent github accounts?
@Ashotofcode
@Ashotofcode 4 жыл бұрын
​@@mikro63tv94​ LastPass - it's a life saver.. can't recommend it highly enough
@vikashnirwal
@vikashnirwal 3 жыл бұрын
exactly
@andersonbenicio8108
@andersonbenicio8108 3 жыл бұрын
I know it is quite randomly asking but does anybody know a good place to watch new series online ?
@HarjinderMankoo
@HarjinderMankoo Жыл бұрын
Absolutely brilliant. Watched both your SSH and HTTP videos on using two git account from one machine. Took me more than a day to find you but thank god I did. All others made it so difficult to follow. Cannot believe they were describing what you succinctly and with such clarity described. Thanks a lot
@Ashotofcode
@Ashotofcode Жыл бұрын
You're welcome! Cheers Mark
@cdnhacker1906
@cdnhacker1906 3 жыл бұрын
WOW, you rock. You would not believe how convoluted other people make this. I've seen tons of people with the same problem.
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Cheers appreciated :-)
@matanpazi3777
@matanpazi3777 Жыл бұрын
Finally a clear explanation, this stumped me for quite a while.. Thanks!
@Ashotofcode
@Ashotofcode Жыл бұрын
Excellent, glad it helped out, cheers Mark
@matiaspastori901
@matiaspastori901 3 жыл бұрын
I'cant believe how i was living without knowing this. you are my savior.
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Cool glad it was useful Matias😀
@markeem321
@markeem321 4 жыл бұрын
Thaaaank youuu!!! I've destroyed my git pw in credential manager while testing. That's the best explanation ever!
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Thanks Marcus, Glad it helped!
@jforjs417
@jforjs417 3 жыл бұрын
This is really helpful, I was looking for this solution for years.
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Cool glad it was helpful :-) Cheers Mark
@mikhileshmhirphode4374
@mikhileshmhirphode4374 Жыл бұрын
I was searching this like anything ! Thank you 🙏🏻very much 😃
@Ashotofcode
@Ashotofcode Жыл бұрын
You're welcome 😊 Cheers Mark
@vixsonvx
@vixsonvx 4 жыл бұрын
Thanks so much. This is the only one that has worked for me so far. So straight forward.
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Excellent, glad it helped Victor :-)
@ВячеславПереверзев-ь6ф
@ВячеславПереверзев-ь6ф 2 жыл бұрын
You saved my brain from explosion!) I'm trying setup multiple accounts over 6 hours at new laptop, but I tried be strong because I did it on old one and forgot about this solution) This method works on MacOS keychain too
@Ashotofcode
@Ashotofcode 2 жыл бұрын
Excellent, glad it helped out. Cheers Mark
@ksingh0180
@ksingh0180 10 ай бұрын
You saved my day buddy, a lot of thanks! 🔥🔥
@Ashotofcode
@Ashotofcode 10 ай бұрын
No problem 👍Cheers Mark
@davidblanco7391
@davidblanco7391 3 жыл бұрын
thanks for the video bro... i always come back here when something goes wrong
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Cheers David :-)
@anest-uk
@anest-uk 3 жыл бұрын
Thanks, very clear. I now see why on SO etc people are saying 'but I want it per account, not per repo!'. Because that's what I want. Surely not an unusual case? Multiple projects, multiple repos in each, PACs that should expire... gives you a shedload of work every 3 months if it is per repo. Baffled as to why there's not a simple solution for this.
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Indeed! glad was helpful Cheers Mark
@jhoanmartinezsilva2609
@jhoanmartinezsilva2609 4 жыл бұрын
The best explanation eveerr, huge thanks for sharing
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Glad it was helpful Jhoan!
@jaidevdas7572
@jaidevdas7572 Жыл бұрын
This is exactly what I wanted! Thanks a lot!
@Ashotofcode
@Ashotofcode Жыл бұрын
Glad to hear that! Cheers Mark 🙂
@SonuRaj-er1hn
@SonuRaj-er1hn 4 жыл бұрын
if i have 2 accounts in both accounts have multiple repo then inside WCM store all repo ?, but i want to not create multiple repo inside WCM, how to do that
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Sounds tricky I'm afraid Sonu - hopefully you found something out there help more on this. Cheers Mark
@mohdsahil226
@mohdsahil226 4 жыл бұрын
Thanks! Very concise and simple to understand
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Thanks Mohd, glad it was helpful!
@dungtien9332
@dungtien9332 3 жыл бұрын
It works. But it uses the entire repository as key, so it's annoying if you have multiple repositories under one account. How to manage multiple github account (not individual repositories)?
@nirajbadaik6796
@nirajbadaik6796 3 жыл бұрын
Thanks just subscribed hoping to learn a lot from this channel.
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Awesome, thanks Niraj
@hiteshsahu9431
@hiteshsahu9431 3 жыл бұрын
Great explanation , it was very helpful. Thanks !
@Ashotofcode
@Ashotofcode 3 жыл бұрын
You are welcome Hitesh🙂Cheers Mark
@ShubhamJadhav-qx5nv
@ShubhamJadhav-qx5nv 4 жыл бұрын
How to do the same thong pn ubuntu.. Please help sir... Couldn't find crediential manager!?
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Hi Shubham, on ubuntu I'm not sure sorry.
@ShubhamJadhav-qx5nv
@ShubhamJadhav-qx5nv 4 жыл бұрын
@@Ashotofcode hey sir, I found out its almost exactly same.. Just one more step to store the credentials .🤩
@tomiwaibrahim6198
@tomiwaibrahim6198 2 жыл бұрын
Thanks a lot for this tutorial! Is there a way to automate it? I don't know how to explain it better but could I add a word and it just knows which variables and ssh key to use? I'm finding it really hard to wrap my head around it and I can see myself forgetting to change my username and email before a push. Thanks!
@Ashotofcode
@Ashotofcode 2 жыл бұрын
Cool thanks Tomiwa, automating, maybe! not something I've looked at though afraid. Cheers Mark 🙂
@hasanrana9216
@hasanrana9216 3 жыл бұрын
very very helpful for me!! you save my time thanks bro
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Nice, glad it helped Hasan. Cheers Mark :-)
@gretelmartinez830
@gretelmartinez830 4 жыл бұрын
best solution I've found - thanks
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Hi Gretel, glad it helped 😀
@hakunamatata1427
@hakunamatata1427 2 жыл бұрын
Great tutorial !!!
@Ashotofcode
@Ashotofcode 2 жыл бұрын
Thank you! Cheers! 🙂
@sergioernestotostadosanche2509
@sergioernestotostadosanche2509 4 жыл бұрын
You saved my day buddy, a lot of thanks!
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Glad I could help Sergio!
@maheshshinde4168
@maheshshinde4168 Жыл бұрын
How to do it same in mac?
@Ashotofcode
@Ashotofcode Жыл бұрын
Beyond my knowledge I'm afraid ☹ Cheers Mark
@JohnnyCashOriginal
@JohnnyCashOriginal Жыл бұрын
Thanks so much mate! This was a life saver
@Ashotofcode
@Ashotofcode Жыл бұрын
No worries! Cheers Mark 🙂
@markovasic1698
@markovasic1698 4 жыл бұрын
This helped me a LOT! Thank You ❤
@Ashotofcode
@Ashotofcode 4 жыл бұрын
You're welcome Marko 😊
@LucasJappert
@LucasJappert 3 жыл бұрын
10:30 part help me. Thank you genius!
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Cool glad it helped Lucas :-)
@philipoakley5498
@philipoakley5498 2 жыл бұрын
Hasn't the GCM recently updated to be 'manager-core'? Also worth mentioning that different helper programs, while having a baseline set of commands, may have commands specific to the particular helper. Finally would be also good to see how to get sending patches via SMTP through the 'git send-email' capability be properly authenticated (permitted) with the email server.
@QuickSolutions_
@QuickSolutions_ 4 жыл бұрын
Thanks a lot, was looking for this.
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Nice, glad was useful Sabir :-)
@jesusarevalo9817
@jesusarevalo9817 3 жыл бұрын
Dude, you save my life
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Nice glad it was helpful :-) cheers Mark
@runreadcode
@runreadcode 3 жыл бұрын
you just save me from buying other laptop. seriously.
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Cool! Cheers Mark
@alexmoshak5924
@alexmoshak5924 4 жыл бұрын
OMG, I was wondering how to do it for the whole couple months. BTW I see u have VS Code as a default editor for the command line. For me some weird thing opens in prompt when I run git config --global -e. How did you set VS Code to open as a default?
@alexmoshak5924
@alexmoshak5924 4 жыл бұрын
Nevermind, I figured it out. For anyone wondering how to do it just run this line git config --global core.editor code Thanks a lot for the tutorial again
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Nicely done :-)
@jasonnares9634
@jasonnares9634 Жыл бұрын
This is very useful. Thanks.
@Ashotofcode
@Ashotofcode Жыл бұрын
You're welcome! Cheers Mark
@apoorvgupta2511
@apoorvgupta2511 3 жыл бұрын
git announced that passwords will be deprecated and requires to use PAT for authenticating git operations, are there any changes with that regard or we can follow the same procedure? Btw a great tutorial it worked like a charm!
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Thanks Apoorv, will check it out for sure, was not aware of this. Cheers Mark
@myamlak3007
@myamlak3007 3 жыл бұрын
that was exactly what i needed...
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Sorted! glad was helpful :-) Cheers Mark
@iurylippo6636
@iurylippo6636 4 жыл бұрын
YOU ARE A LIFE SAVER! !
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Thanks Lury, glad it was helpful :-)
@giorgiomanadze4401
@giorgiomanadze4401 4 жыл бұрын
That does not work on a mac, does it?
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Hi Giorgi, just windows this one afraid. Cheers Mark
@giorgiomanadze4401
@giorgiomanadze4401 4 жыл бұрын
@@Ashotofcode okay, thanks for the answer.
@la_ilaha_ilallah
@la_ilaha_ilallah 2 жыл бұрын
That's less if I thank you. Take my love from my heart. 😍
@Ashotofcode
@Ashotofcode 2 жыл бұрын
Thanks Muhammad 🙂Glad it helped out, Cheers Mark
@vikashnirwal
@vikashnirwal 3 жыл бұрын
Thanks a lot, you are a lifesaver.
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Glad it helped Vikas!
@oorhood
@oorhood 3 жыл бұрын
You're awesome! Thanks a ton!
@Ashotofcode
@Ashotofcode 3 жыл бұрын
You're welcome!
@20seconds16
@20seconds16 3 жыл бұрын
thanks man very helpful
@Ashotofcode
@Ashotofcode 3 жыл бұрын
No problem! Cheers Mark
@rineeshch04
@rineeshch04 10 ай бұрын
awesome, it worked
@Ashotofcode
@Ashotofcode 10 ай бұрын
Great! Glad it helped out - Cheers Mark
@sumitkachare6628
@sumitkachare6628 3 жыл бұрын
Thanks a lot! Really Helpfull😀👍
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Glad it helped! :-)
@jaskaransingh4704
@jaskaransingh4704 2 жыл бұрын
Amazing thanks ! ♥
@Ashotofcode
@Ashotofcode 2 жыл бұрын
Glad you like it Jaskaran 🙂Cheers Mark
@yogxoth1959
@yogxoth1959 3 жыл бұрын
very helpful, thank you
@Ashotofcode
@Ashotofcode 3 жыл бұрын
You're welcome!
@codeaperture
@codeaperture 3 жыл бұрын
I want to manage over 6 accounts .
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Should be fine this extrapolates out I think. Cheers Mark
@awz022
@awz022 2 жыл бұрын
thanyou so much mann....................................................
@Ashotofcode
@Ashotofcode 2 жыл бұрын
Cool glad it helped 😀 Cheers Mark
@hlosanidube-mpofu7328
@hlosanidube-mpofu7328 3 жыл бұрын
Thanks mate
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Any time! Cheers Mark
@shubhamkhandal5290
@shubhamkhandal5290 2 жыл бұрын
it's a very useful
@Ashotofcode
@Ashotofcode 2 жыл бұрын
Nice, glad to hear that Shubham, Cheers Mark 🙂
@sangvu6255
@sangvu6255 Жыл бұрын
WOW, you save my life :v
@Ashotofcode
@Ashotofcode Жыл бұрын
Cool glad it helped! :-) Cheers Mark
@killjoykjvj
@killjoykjvj 4 жыл бұрын
Thanks sir.
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Most welcome
@samz03
@samz03 3 жыл бұрын
thanks a lot
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Cheers Sam
@hareemafzal7910
@hareemafzal7910 3 жыл бұрын
Lot of Thanks#
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Cool glad you found useful Hareem :-) Cheers Mark
@meralmaradia4774
@meralmaradia4774 2 жыл бұрын
thanks
@Ashotofcode
@Ashotofcode 2 жыл бұрын
You're welcome Meral 🙂 Cheers Mark
@ImClinTT
@ImClinTT 3 жыл бұрын
nice
@Ashotofcode
@Ashotofcode 3 жыл бұрын
Cheers Clint 😀
@b25671
@b25671 Жыл бұрын
Hero
@Ashotofcode
@Ashotofcode Жыл бұрын
Cool Thanks :-)
@b25671
@b25671 Жыл бұрын
@@Ashotofcode I have to say... Eventually I'm going to stick with deleting my credentials in the WCM because it is a barrier to remind me to also change my user credentials in the.config file. Because even though you're logged in into another account... Your commit credentials stay the same and to me that's not good. But thanks for the video!
@b25671
@b25671 Жыл бұрын
@Ashotofcode Apparently if you set your local config file to “git config credential.username “MyUsername” … it is enough for Windows Credential Manager to separate different login-credentials. So you can have different logins in WCM and you just specify which one you want to use by setting the credential.username in the local config file.
@davidblanco7391
@davidblanco7391 3 жыл бұрын
mac users might have to run: $ ssh-add -K ~/.ssh/your-file
@Oswee
@Oswee 4 жыл бұрын
I just get rid of multiple accounts like a year ago. It works fine... but... my conclusion was that overall its all clunky. So i created several organizations for my primary account and moved all projects over there. And i joined to some external organizations. So... no i have just single identity for GitHub and everything organized nicely. I had something like (but i'm using ssh): cat ~/.ssh/config Host my-org.github.com HostName github.com User my-org PreferredAuthentications publickey IdentityFile ~/.ssh/github-my-org IdentitiesOnly yes Host my-username.github.com HostName github.com User my-username PreferredAuthentications publickey IdentityFile ~/.ssh/github-my-username IdentitiesOnly yes EOT
@Ashotofcode
@Ashotofcode 4 жыл бұрын
Hi Dzintars, thanks for sharing, good to see how others are doing this for sure, I'm gonna try out ssh and create a video so can learn that approach too - you'll be able to critic it for sure it seems from past experience. The organization approach I've not considered (or knew about) thanks for the heads up on this😁 I'm gonna have a dig into it as looks like will be better than both SSH and Https? Cheers Mark
@blank9567
@blank9567 4 жыл бұрын
@@Ashotofcode Your Video helped alot because I was forced into multiple accounts 1 for university codebase server(automated account linked to my studymail limited to only projects from university) and 1 for personal use of gitlab with my privat email. Kinda interested if there is something similiar with ssh. I already would be happy if I could configure something like lets say: this University folder and all subfolders are linked to the one account and globally all other commits are from my private account. None the less this is way better than changing my config file all the time. The presentation quality and the live showcase were very high. I enjoy that there are people actual helping with setting up the stuff instead of skipping to the now everything is ready part. Atleast after finally getting the requirements satisfied the feeling of making progress continues. Thanks for your kind help and keep going!
@arseneeich5635
@arseneeich5635 2 жыл бұрын
This video really helped thanks
@Ashotofcode
@Ashotofcode 2 жыл бұрын
Glad to hear it! 🙂Cheers Mark
Authenticating on multiple GitHub accounts using SSH
13:53
A shot of code
Рет қаралды 43 М.
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 4,8 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
git rebase - Why, When & How to fix conflicts
9:45
Philomatics
Рет қаралды 72 М.
GitHub Actions Tutorial - Basic Concepts and CI/CD Pipeline with Docker
32:31
TechWorld with Nana
Рет қаралды 1,6 МЛН
Learn Microsoft Group Policy the Easy Way!
23:58
Andy Malone MVP
Рет қаралды 165 М.
How to USE Multiple Git Accounts using SSH on Windows
10:31
Jc Miron
Рет қаралды 13 М.
Multiple Github Accounts on One Computer with SSH
17:42
Seeker Labs
Рет қаралды 34 М.
How HACKERS Send Malware | DNS Spoofing
11:46
Cyb3rMaddy
Рет қаралды 61 М.
Git and GitHub for Beginners - Crash Course
1:08:30
freeCodeCamp.org
Рет қаралды 4,4 МЛН
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
Intro to Windows Forms (WinForms) in .NET 6
1:35:50
IAmTimCorey
Рет қаралды 245 М.