Using multiple github accounts on same machine

  Рет қаралды 42,575

SciTech Enthusiasts

SciTech Enthusiasts

Күн бұрын

Пікірлер: 121
@dnihalanis
@dnihalanis 2 жыл бұрын
Far far better explanation than any professional devs on youtube... saved lots of time.... thanks
@CompletelyLegit23
@CompletelyLegit23 Жыл бұрын
Finally a good explanation. The aliases were a game changer for easily controlling which set of keys is being used
@ScrollsoftheNebulaicWhispers
@ScrollsoftheNebulaicWhispers Жыл бұрын
at 8:30 is the crucial info that everybody always ignore and never mention. Thanks for pointing it out
@DevSelfLearn
@DevSelfLearn Жыл бұрын
Awesome explanation. At first I thought why all these people are writing wonderful reviews. But when I watched your video for understanding. It was really amazing. Keep up the good work!!!!
@siddharthmagadum16
@siddharthmagadum16 2 жыл бұрын
10:20 it is creating known_hosts and known_hosts.old files in ~/.sh directory for me as well, what does that mean?
@nishantchinchansure5330
@nishantchinchansure5330 2 жыл бұрын
Please explain further as well like how to push with 2 different accounts to different projects
@kimckimchi
@kimckimchi Жыл бұрын
up
@SciTechEnthusiasts
@SciTechEnthusiasts Жыл бұрын
kzbin.info/www/bejne/jIHblKqll5lsrLs probably this will help
@SciTechEnthusiasts
@SciTechEnthusiasts Жыл бұрын
Just do git push , if you don't want to use global config and want to have different email and name that should appear in the commits use git config command to config name and email for each repo cloned and just do git push
@manyu8085
@manyu8085 3 жыл бұрын
Thanks my first day at work watching this
@iamfutureflashx
@iamfutureflashx Жыл бұрын
thanku you brother because of you now i know how access multiple accounts in one machine
@karmakiawaaz
@karmakiawaaz Жыл бұрын
Yes, It worked for me, you have simple explaination! Thank you! ❤
@kiranpoojary493
@kiranpoojary493 Жыл бұрын
Finally resolved my issue. Tnq So Much Bro.❣
@idongesiteyo7183
@idongesiteyo7183 Жыл бұрын
This was so helpful. Thanks a million!👍👍
@DataEngineeringGeek
@DataEngineeringGeek Жыл бұрын
Awesome. Nicely explained. This helped a lot. Thanks
@bidyutbikashboruah8348
@bidyutbikashboruah8348 Жыл бұрын
how to set up new repo . when I use this "git remote add origin git@:name/reponame.git" , its used username as last used git user account ... how to inisilize user name form new git repo?
@osamamirza4220
@osamamirza4220 2 жыл бұрын
Awesome and so helpful
@MarcosSilva-ls9gt
@MarcosSilva-ls9gt 2 жыл бұрын
Man you're the best. Thank you a lot!!!
@FMAlmeidaLeite
@FMAlmeidaLeite Жыл бұрын
Hello from Brazil. Very good this video and so helpful, thanks a lot!
@themercifulslave1778
@themercifulslave1778 Жыл бұрын
subscribed! Hope we can have GitHub tutorials from u bro...
@angelleal3005
@angelleal3005 2 жыл бұрын
Great explanation, completely solved my problem !
@codeKeshav
@codeKeshav Жыл бұрын
Well Explained Nice Work You video was accurate to my problem statement
@LucasBrumGuitar
@LucasBrumGuitar 2 жыл бұрын
Thank you so much! Cheers from Brazil!
@DishaTomar
@DishaTomar 2 жыл бұрын
great explanation with much simpler steps
@otaviosouza3864
@otaviosouza3864 Жыл бұрын
Very nice video, the best of this topic!!!
@numaanmohammad2164
@numaanmohammad2164 3 жыл бұрын
Helpful content. Keep up the good work.
@tejasparse9053
@tejasparse9053 Жыл бұрын
If anyone getting "Please make sure you have the correct access rights and the repository exists" or the line 3, 8 is setup wrong please remove the line and it should all work correctly.
@emmanuelopezs
@emmanuelopezs 2 жыл бұрын
Thanks a lot!! You're amazing dude! Love ya!! 💚
@juanpablobetancurmartinez7854
@juanpablobetancurmartinez7854 2 жыл бұрын
Thank you so much, this video was really helpful... Easy to do all the things you explained.
@Unknownperson-ob7fu
@Unknownperson-ob7fu 2 жыл бұрын
8:40 when cloning showing this msg in terminal Please make sure you have the correct access rights and the repository exists.
@desmond2802
@desmond2802 Жыл бұрын
Hi there! I have both GitHub and GitHub Enterprise and both of them are on the same email account. Is it still possible to use the above method?
@Somnathbhosale915
@Somnathbhosale915 Жыл бұрын
Thank you for through this video I have setup the projects, God bless you :)
@subratmeher101
@subratmeher101 Жыл бұрын
Finally got a good solution. Thanks
@type3gaming851
@type3gaming851 2 жыл бұрын
Thanks man your explanation was the best !
@khanfaysal993
@khanfaysal993 2 жыл бұрын
Today when create a new branch and finally push it error occured and says error: failed to push some refs to 'git' but I have already set different account ssh key generate through your video content.
@evapavlova8815
@evapavlova8815 Жыл бұрын
Can't express my gratitude to you enough! 12 hours spent before viewing your video. Thank you! Super explanation. Question: is ssh-agent unnecessary at all?
@yashgorasia9828
@yashgorasia9828 Жыл бұрын
Thank you so much. It helped a lot 😄
@deepsant2372
@deepsant2372 2 жыл бұрын
awesommmmmeee and thanks much for this mate!!
@PallaviNagarkar
@PallaviNagarkar Жыл бұрын
I have couple of question, 1. Does these steps remain same when we have 1st account on Github and 2nd on Bitbucket? 2. For performing other git commands, like "git push", do we need to add anything to the command or the same one works for both accounts?
@SciTechEnthusiasts
@SciTechEnthusiasts Жыл бұрын
1. Yes steps will be similar 2. Before git push you can edit the git global config and then commit using the the changes config.
@PallaviNagarkar
@PallaviNagarkar Жыл бұрын
@@SciTechEnthusiasts Thank you for the response!
@SubmitToTheBiomass
@SubmitToTheBiomass Жыл бұрын
Thanks for this. I was on the right track but the answer I found on stackoverflow had an outdated config format. I guess it must have changed.
@manjindersarkaria3001
@manjindersarkaria3001 Жыл бұрын
Thanks for this video. It saved lots of time.
@vowonder386
@vowonder386 Жыл бұрын
Excellent explanation, thank you!
@juanescobar9773
@juanescobar9773 Жыл бұрын
Thanks for explanation, you resolve my problem
@denisbogusiewicz
@denisbogusiewicz Жыл бұрын
Bro, you are very good. Thank you a lot
@ashishmaurya3113
@ashishmaurya3113 2 жыл бұрын
Amazing video completely solved my problem
@rabiulmiah2169
@rabiulmiah2169 Жыл бұрын
Just showing one account git clone by green colour on GitHub ssh key and u didn't show us about 2nd account green colour on ssh key field....... Pls help ..... after copy to paste from your video currently I am so frustrated...... Pls help...
@Pranauv
@Pranauv Жыл бұрын
thank you so much sir!!! This saved my day!!
@JahangirKhan-hz7ui
@JahangirKhan-hz7ui Жыл бұрын
Excellent explanation brother..... but How can we make a new repo and push the project to the GitHub account using this method??
@khanfaysal993
@khanfaysal993 2 жыл бұрын
Thanks a lot. But if I create new project on specific github account, how to push specific account and what will be current user name and email on local machine git bash ?
@SciTechEnthusiasts
@SciTechEnthusiasts 2 жыл бұрын
You can config local git user name and email using git --config before you push
@ArunKarthikgayan
@ArunKarthikgayan 2 жыл бұрын
I'm able to add key and clone using my account, but fails when I try running thru windows service, getting host key authentication failed. please do advice
@SciTechEnthusiasts
@SciTechEnthusiasts 2 жыл бұрын
what's the windows service commandline
@rishabh719
@rishabh719 Жыл бұрын
do push pull will work here ?
@harshyadav9
@harshyadav9 Жыл бұрын
Exactly what I wanted, Thanks a lot.........
@yazid113
@yazid113 2 жыл бұрын
Hi after cloning the repo the push process is there a special way to do it or the files knows which account to use?
@SciTechEnthusiasts
@SciTechEnthusiasts 2 жыл бұрын
Made another video to explain that kzbin.info/www/bejne/jIHblKqll5lsrLs
@madhurmoms
@madhurmoms Жыл бұрын
bro i have already one aacount how how can i setup 2nd acount
@khanfaysal993
@khanfaysal993 2 жыл бұрын
first ssh key account worked but second ssh key account not working while push code in the new project
@SciTechEnthusiasts
@SciTechEnthusiasts 2 жыл бұрын
Try docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address
@sayan_dasgupta
@sayan_dasgupta 3 жыл бұрын
Thanks man. Saved the day. One question do we have to remove old data from windows credential manager
@iam_rajeevyadav
@iam_rajeevyadav Жыл бұрын
Thanks sir...lots of love
@gunasekaranpalanisami6182
@gunasekaranpalanisami6182 Жыл бұрын
Thank you so much , nice learning
@kevinagyemang6250
@kevinagyemang6250 2 жыл бұрын
The configuration can't save as such, what should I do?
@SciTechEnthusiasts
@SciTechEnthusiasts 2 жыл бұрын
What's the error while saving it?
@SciTechEnthusiasts
@SciTechEnthusiasts 2 жыл бұрын
Maybe this will help unix.stackexchange.com/questions/558495/how-can-i-provide-the-authorized-keys-path-in-sshd-that-allows-normal-users-sys
@sandeepvare
@sandeepvare 2 жыл бұрын
Thanks Man... Solved my problem
@fase-man6355
@fase-man6355 2 жыл бұрын
Thanks mate. you help me well. thanks
@thekannadacoder8134
@thekannadacoder8134 2 жыл бұрын
thanks a lot brother , super..great job 💖💖💖💖💖💖💖💖💖
@birukabel3590
@birukabel3590 Жыл бұрын
Thank you Excellent tutorial
@ahsanshaikh7333
@ahsanshaikh7333 2 жыл бұрын
yar jan bacha li tum nay kasam say thank you bro
@HharshalL
@HharshalL 3 жыл бұрын
bro can u share undervolting tricks for aspire 7
@shrishtychandra2003
@shrishtychandra2003 Жыл бұрын
Very good video. Thanks!
@adityamathur2284
@adityamathur2284 9 ай бұрын
Thanks for the amazing content, it really helps, just One question I have is that for both these different github accounts, I want to do my commits as different username for different user accounts. How can I setup that, if you have any link for it, I will be greatful. I am sure I will have to make changes to the git config for it, but what exact changes are to be done, I need some clarity on that.
@SciTechEnthusiasts
@SciTechEnthusiasts 9 ай бұрын
In the repo level to change the name and email for a specific Git repository, you can use the following commands: ```bash git config user.name "Your Name" git config user.email "your_email@example.com" ``` These commands will change the name and email associated with commits in that particular repository.
@adityamathur2284
@adityamathur2284 9 ай бұрын
@@SciTechEnthusiasts yep it works like a charm. Finally my setup is done, thanks for all the amazing content😊
@nilamlad658
@nilamlad658 2 жыл бұрын
but push is not working through the tourtisegit
@SciTechEnthusiasts
@SciTechEnthusiasts 2 жыл бұрын
Ok seems like most users facing issues with push and I didn't included it in the video. I'll make another video this weekend.
@priyamghosh7297
@priyamghosh7297 3 жыл бұрын
Please show how to push using two different account
@siluverukirankumar9954
@siluverukirankumar9954 2 жыл бұрын
Did you get how to push?
@SciTechEnthusiasts
@SciTechEnthusiasts 2 жыл бұрын
just use git push
@SciTechEnthusiasts
@SciTechEnthusiasts 2 жыл бұрын
it will automatically push
@lle5159
@lle5159 2 жыл бұрын
@@SciTechEnthusiasts Hi bro, how does VSC know which account we want to use to push since we have two accounts?
@lle5159
@lle5159 2 жыл бұрын
Say it using account A but I want to use account B to push, is there any way to manipulate it?
@kumarutsav23
@kumarutsav23 2 жыл бұрын
How to push?
@divyalpatil5387
@divyalpatil5387 Жыл бұрын
Awesome thanks bro 😊
@gabrieleguerrini9408
@gabrieleguerrini9408 3 жыл бұрын
You have saved me lots of troubles, thanks. May I ask you which extensions are using in VSC to get that nice view of config/id_ files and code within config?
@naushadansari708
@naushadansari708 2 жыл бұрын
@Gabriele Guerrini Extetention Name : Remote - SSH: Editing Configuration Files by Microsoft
@Unknownperson-ob7fu
@Unknownperson-ob7fu 2 жыл бұрын
bhai how to create a config file I mean what is the extension of a config file
@a.human.
@a.human. 2 жыл бұрын
vs code theme?
@hungninh8320
@hungninh8320 2 жыл бұрын
you save my life, thank you
@kaungsathan3759
@kaungsathan3759 2 жыл бұрын
thanks this was helpful...
@md.shamim1304
@md.shamim1304 2 жыл бұрын
Effective videos. Thanks a lot.........
@saranshmehta1060
@saranshmehta1060 2 жыл бұрын
Dude, Thanks so much.
@LuaneCarolineAquinoCavalcanti
@LuaneCarolineAquinoCavalcanti 2 жыл бұрын
Thank you!
@shashwatagrawal8798
@shashwatagrawal8798 2 жыл бұрын
Thanks dude!
@prasannacolan2595
@prasannacolan2595 2 жыл бұрын
Helpful, Thanks
@aadil4236
@aadil4236 3 жыл бұрын
Thank you so much!!!
@sameernaalt2817
@sameernaalt2817 Жыл бұрын
Thank you so much
@somehow3456
@somehow3456 7 ай бұрын
nice
@md.solaimanahmed2168
@md.solaimanahmed2168 2 жыл бұрын
Helpful content
@cairink2110
@cairink2110 Жыл бұрын
Thank you brother
@amineatyq3643
@amineatyq3643 2 ай бұрын
This is helpful
@shravanchilka7466
@shravanchilka7466 2 жыл бұрын
thanks a lot ♥
@zermax
@zermax Жыл бұрын
Thanks bro
@amanali9501
@amanali9501 2 жыл бұрын
thx for the help
@BattleSaberj
@BattleSaberj Жыл бұрын
not working anymore
@SciTechEnthusiasts
@SciTechEnthusiasts Жыл бұрын
Hmm are you sure? I'll check on weekend and update here
@johongirmirsoatov3719
@johongirmirsoatov3719 2 жыл бұрын
rahmat bratjan
@rucha3385
@rucha3385 2 жыл бұрын
Juts change the username via cmd using git config user.name " " git config user.email " "
@lucasalmeida5790
@lucasalmeida5790 2 жыл бұрын
thankss!!!
@MohitKumar-nh1qb
@MohitKumar-nh1qb 3 жыл бұрын
bro, thanks a lot
@touseefahmad9794
@touseefahmad9794 2 жыл бұрын
life saving
@trkmahendra
@trkmahendra 11 ай бұрын
let me try it
@muhammadnurulahsan8740
@muhammadnurulahsan8740 2 жыл бұрын
Helpful content. Keep up the good work.
@fahadhussain4537
@fahadhussain4537 Жыл бұрын
how to differ during commit
@md.solaimanahmed2168
@md.solaimanahmed2168 2 жыл бұрын
Helpful content
Authenticating on multiple GitHub accounts using SSH
13:53
A shot of code
Рет қаралды 43 М.
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН
5 Ways to DevOps-ify your App - Github Actions Tutorial
12:12
Fireship
Рет қаралды 707 М.
Multiple Github Accounts on One Computer with SSH
17:42
Seeker Labs
Рет қаралды 34 М.
Never* use git pull
4:02
Philomatics
Рет қаралды 604 М.
Git MERGE vs REBASE
16:12
Academind
Рет қаралды 1 МЛН
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,3 МЛН
How to USE Multiple Git Accounts using SSH on Windows
10:31
Jc Miron
Рет қаралды 13 М.
Configure NGINX as a Reverse Proxy
16:43
NGINX
Рет қаралды 231 М.
Git and GitHub for Beginners - Crash Course
1:08:30
freeCodeCamp.org
Рет қаралды 4,3 МЛН
CI / CD in Flutter - GitHub Actions vs. Codemagic
14:53
Flutter Explained
Рет қаралды 29 М.
Manage Multiple Github Accounts with SSH keys
5:53
TechHara
Рет қаралды 27 М.
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН