@@Ashotofcode what is extension is that, where you can switch diffrent github accounts?
@Ashotofcode4 жыл бұрын
@@mikro63tv94 LastPass - it's a life saver.. can't recommend it highly enough
@vikashnirwal3 жыл бұрын
exactly
@andersonbenicio81083 жыл бұрын
I know it is quite randomly asking but does anybody know a good place to watch new series online ?
@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 Жыл бұрын
You're welcome! Cheers Mark
@cdnhacker19063 жыл бұрын
WOW, you rock. You would not believe how convoluted other people make this. I've seen tons of people with the same problem.
@Ashotofcode3 жыл бұрын
Cheers appreciated :-)
@matanpazi3777 Жыл бұрын
Finally a clear explanation, this stumped me for quite a while.. Thanks!
@Ashotofcode Жыл бұрын
Excellent, glad it helped out, cheers Mark
@matiaspastori9013 жыл бұрын
I'cant believe how i was living without knowing this. you are my savior.
@Ashotofcode3 жыл бұрын
Cool glad it was useful Matias😀
@markeem3214 жыл бұрын
Thaaaank youuu!!! I've destroyed my git pw in credential manager while testing. That's the best explanation ever!
@Ashotofcode4 жыл бұрын
Thanks Marcus, Glad it helped!
@jforjs4173 жыл бұрын
This is really helpful, I was looking for this solution for years.
@Ashotofcode3 жыл бұрын
Cool glad it was helpful :-) Cheers Mark
@mikhileshmhirphode4374 Жыл бұрын
I was searching this like anything ! Thank you 🙏🏻very much 😃
@Ashotofcode Жыл бұрын
You're welcome 😊 Cheers Mark
@vixsonvx4 жыл бұрын
Thanks so much. This is the only one that has worked for me so far. So straight forward.
@Ashotofcode4 жыл бұрын
Excellent, glad it helped Victor :-)
@ВячеславПереверзев-ь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
@Ashotofcode2 жыл бұрын
Excellent, glad it helped out. Cheers Mark
@ksingh018010 ай бұрын
You saved my day buddy, a lot of thanks! 🔥🔥
@Ashotofcode10 ай бұрын
No problem 👍Cheers Mark
@davidblanco73913 жыл бұрын
thanks for the video bro... i always come back here when something goes wrong
@Ashotofcode3 жыл бұрын
Cheers David :-)
@anest-uk3 жыл бұрын
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.
@Ashotofcode3 жыл бұрын
Indeed! glad was helpful Cheers Mark
@jhoanmartinezsilva26094 жыл бұрын
The best explanation eveerr, huge thanks for sharing
@Ashotofcode4 жыл бұрын
Glad it was helpful Jhoan!
@jaidevdas7572 Жыл бұрын
This is exactly what I wanted! Thanks a lot!
@Ashotofcode Жыл бұрын
Glad to hear that! Cheers Mark 🙂
@SonuRaj-er1hn4 жыл бұрын
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
@Ashotofcode3 жыл бұрын
Sounds tricky I'm afraid Sonu - hopefully you found something out there help more on this. Cheers Mark
@mohdsahil2264 жыл бұрын
Thanks! Very concise and simple to understand
@Ashotofcode4 жыл бұрын
Thanks Mohd, glad it was helpful!
@dungtien93323 жыл бұрын
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)?
@nirajbadaik67963 жыл бұрын
Thanks just subscribed hoping to learn a lot from this channel.
@Ashotofcode3 жыл бұрын
Awesome, thanks Niraj
@hiteshsahu94313 жыл бұрын
Great explanation , it was very helpful. Thanks !
@Ashotofcode3 жыл бұрын
You are welcome Hitesh🙂Cheers Mark
@ShubhamJadhav-qx5nv4 жыл бұрын
How to do the same thong pn ubuntu.. Please help sir... Couldn't find crediential manager!?
@Ashotofcode4 жыл бұрын
Hi Shubham, on ubuntu I'm not sure sorry.
@ShubhamJadhav-qx5nv4 жыл бұрын
@@Ashotofcode hey sir, I found out its almost exactly same.. Just one more step to store the credentials .🤩
@tomiwaibrahim61982 жыл бұрын
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!
@Ashotofcode2 жыл бұрын
Cool thanks Tomiwa, automating, maybe! not something I've looked at though afraid. Cheers Mark 🙂
@hasanrana92163 жыл бұрын
very very helpful for me!! you save my time thanks bro
@Ashotofcode3 жыл бұрын
Nice, glad it helped Hasan. Cheers Mark :-)
@gretelmartinez8304 жыл бұрын
best solution I've found - thanks
@Ashotofcode4 жыл бұрын
Hi Gretel, glad it helped 😀
@hakunamatata14272 жыл бұрын
Great tutorial !!!
@Ashotofcode2 жыл бұрын
Thank you! Cheers! 🙂
@sergioernestotostadosanche25094 жыл бұрын
You saved my day buddy, a lot of thanks!
@Ashotofcode4 жыл бұрын
Glad I could help Sergio!
@maheshshinde4168 Жыл бұрын
How to do it same in mac?
@Ashotofcode Жыл бұрын
Beyond my knowledge I'm afraid ☹ Cheers Mark
@JohnnyCashOriginal Жыл бұрын
Thanks so much mate! This was a life saver
@Ashotofcode Жыл бұрын
No worries! Cheers Mark 🙂
@markovasic16984 жыл бұрын
This helped me a LOT! Thank You ❤
@Ashotofcode4 жыл бұрын
You're welcome Marko 😊
@LucasJappert3 жыл бұрын
10:30 part help me. Thank you genius!
@Ashotofcode3 жыл бұрын
Cool glad it helped Lucas :-)
@philipoakley54982 жыл бұрын
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_4 жыл бұрын
Thanks a lot, was looking for this.
@Ashotofcode4 жыл бұрын
Nice, glad was useful Sabir :-)
@jesusarevalo98173 жыл бұрын
Dude, you save my life
@Ashotofcode3 жыл бұрын
Nice glad it was helpful :-) cheers Mark
@runreadcode3 жыл бұрын
you just save me from buying other laptop. seriously.
@Ashotofcode3 жыл бұрын
Cool! Cheers Mark
@alexmoshak59244 жыл бұрын
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?
@alexmoshak59244 жыл бұрын
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
@Ashotofcode4 жыл бұрын
Nicely done :-)
@jasonnares9634 Жыл бұрын
This is very useful. Thanks.
@Ashotofcode Жыл бұрын
You're welcome! Cheers Mark
@apoorvgupta25113 жыл бұрын
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!
@Ashotofcode3 жыл бұрын
Thanks Apoorv, will check it out for sure, was not aware of this. Cheers Mark
@myamlak30073 жыл бұрын
that was exactly what i needed...
@Ashotofcode3 жыл бұрын
Sorted! glad was helpful :-) Cheers Mark
@iurylippo66364 жыл бұрын
YOU ARE A LIFE SAVER! !
@Ashotofcode4 жыл бұрын
Thanks Lury, glad it was helpful :-)
@giorgiomanadze44014 жыл бұрын
That does not work on a mac, does it?
@Ashotofcode4 жыл бұрын
Hi Giorgi, just windows this one afraid. Cheers Mark
@giorgiomanadze44014 жыл бұрын
@@Ashotofcode okay, thanks for the answer.
@la_ilaha_ilallah2 жыл бұрын
That's less if I thank you. Take my love from my heart. 😍
@Ashotofcode2 жыл бұрын
Thanks Muhammad 🙂Glad it helped out, Cheers Mark
@vikashnirwal3 жыл бұрын
Thanks a lot, you are a lifesaver.
@Ashotofcode3 жыл бұрын
Glad it helped Vikas!
@oorhood3 жыл бұрын
You're awesome! Thanks a ton!
@Ashotofcode3 жыл бұрын
You're welcome!
@20seconds163 жыл бұрын
thanks man very helpful
@Ashotofcode3 жыл бұрын
No problem! Cheers Mark
@rineeshch0410 ай бұрын
awesome, it worked
@Ashotofcode10 ай бұрын
Great! Glad it helped out - Cheers Mark
@sumitkachare66283 жыл бұрын
Thanks a lot! Really Helpfull😀👍
@Ashotofcode3 жыл бұрын
Glad it helped! :-)
@jaskaransingh47042 жыл бұрын
Amazing thanks ! ♥
@Ashotofcode2 жыл бұрын
Glad you like it Jaskaran 🙂Cheers Mark
@yogxoth19593 жыл бұрын
very helpful, thank you
@Ashotofcode3 жыл бұрын
You're welcome!
@codeaperture3 жыл бұрын
I want to manage over 6 accounts .
@Ashotofcode3 жыл бұрын
Should be fine this extrapolates out I think. Cheers Mark
@awz0222 жыл бұрын
thanyou so much mann....................................................
@Ashotofcode2 жыл бұрын
Cool glad it helped 😀 Cheers Mark
@hlosanidube-mpofu73283 жыл бұрын
Thanks mate
@Ashotofcode3 жыл бұрын
Any time! Cheers Mark
@shubhamkhandal52902 жыл бұрын
it's a very useful
@Ashotofcode2 жыл бұрын
Nice, glad to hear that Shubham, Cheers Mark 🙂
@sangvu6255 Жыл бұрын
WOW, you save my life :v
@Ashotofcode Жыл бұрын
Cool glad it helped! :-) Cheers Mark
@killjoykjvj4 жыл бұрын
Thanks sir.
@Ashotofcode4 жыл бұрын
Most welcome
@samz033 жыл бұрын
thanks a lot
@Ashotofcode3 жыл бұрын
Cheers Sam
@hareemafzal79103 жыл бұрын
Lot of Thanks#
@Ashotofcode3 жыл бұрын
Cool glad you found useful Hareem :-) Cheers Mark
@meralmaradia47742 жыл бұрын
thanks
@Ashotofcode2 жыл бұрын
You're welcome Meral 🙂 Cheers Mark
@ImClinTT3 жыл бұрын
nice
@Ashotofcode3 жыл бұрын
Cheers Clint 😀
@b25671 Жыл бұрын
Hero
@Ashotofcode Жыл бұрын
Cool Thanks :-)
@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 Жыл бұрын
@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.
@davidblanco73913 жыл бұрын
mac users might have to run: $ ssh-add -K ~/.ssh/your-file
@Oswee4 жыл бұрын
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
@Ashotofcode4 жыл бұрын
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
@blank95674 жыл бұрын
@@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!