GIT - Two GitHub accounts one computer - login and password | GitHub

Publicado em: 03 Dezembro 2020
no canal de: ITbox
285
13

#GitHub #git #Linux #Git two accounts #git two accounts one machine
#loginpassword #repository #two accounts GitHub on one machine login and password

In this episode, I show you how to set up two GitHub accounts on one computer (login and password authentication):

CLI JANKA
0:16 - git clone URL_to_Janka's repository
I PROVIDE LOGIN AND PASSWORD
0:34 - touch filejanka1
0:37 - git add.
0:39 - git commit -m "janka file 1"
0:53 - git config --global user.name janekmritbox
1:01 - git config --global user.email mritbox+janek@gmail.com
1:05 - git config --global -e
1:22 - git commit -m "janka file 1"
1:25 - push git
1:33 - git config --global credential.helper store
1:41 - git config --global -e
1:46 - push guitar
I PROVIDE LOGIN AND PASSWORD
2:08 - git config --global -e
2:15 - cd ~
2:19 - cat .git-credentials
2:32 - touch filejanka2
2:36 - git add.
2:37 - git commit -m "janka file 2"
2:39 - git push
NO LOGIN AND PASSWORD
5: 03- touch filejanka3
5:05 - git add.
5:07 - git commit -m "janka file 3"
5:10 - git push
I PROVIDE LOGIN AND PASSWORD
5:25 - touch filejanka4
5:27 - git add.
5:28 - git commit -m "janka file 4"
5:31 - git push
NO LOGIN AND PASSWORD
5:48 - cd ~
5:50 - cat .git-credentials
5:56 - git config -global -e

FRANK CLI
2: 48- git clone URL_to_repository_Frank
2:50 - remote: Repository not found | fatal: repository 'url_to_repozytorium_Franka' not found
3:10 - git config --global credentail.useHttpPath true
3:20 - git config --global -e
3:27 - git clone url_to_repository_ofrank
I PROVIDE LOGIN AND PASSWORD
3:47 - cd ~
3:51 - cat .git-credentials
4:14 - cd -
4:16 - touch file1franka
4:17 - git add.
4:19 - git commit -m "franc 1 file"
4:22 - git push
NO LOGIN AND PASSWORD
4:30 - git config user.name franekmritbox
4:37 - git config user.email mritbox+franek@gmail.com
4:42 - git config -e
4:49 - touch frank2
4:52 - git add.
4:53 - git commit -m "franc file 2"
4:57 - git push
NO LOGIN AND PASSWORD
5:36 - touch file frank3
5:38 - git add.
5:39 - git commit -m "franka file 3"
5:42 - git push
NO LOGIN AND PASSWORD


Useful links:

Very good article, I recommend: https://www.shellhacks.com/git-config...

git config --global credential.helper store
https://git-scm.com/docs/git-credenti...
https://git-scm.com/book/pl/v2/Git-To...

git config --global credential.github.com.useHttpPath true
https://git-scm.com/docs/gitcredentials

display global git settings:
git config --global -e / -e, --edit open an editor

the file in which our login and password are stored as plain text:
~ / .git-credentials


SEE THE PREVIOUS Episode:
Linux - rwx rwxrwx file permissions - (chmod, whoami, sudo su, su -)
   • Linux - uprawnienia do plikow rwx rwxrwx -...  


SEE ALSO OTHER:
Linux basic terminal commands part 1 (#ls #clear #cd #pwd #touch #mkdir)
   • Linux podstawowe komendy terminala cz. 1(#...  

Linux basic terminal commands part 2 (#rm #rmdir #mv #cat)
   • Linux podstawowe komendy terminala cz. 2 (...  

Linux basic terminal commands part 3 (#ls #cp #cat #less #head #tail)
   • Linux podstawowe komendy terminala cz. 3 (...  

Linux basic terminal commands part 4 (#locate #mlocate #slocate)
   • Linux podstawowe komendy terminala cz. 4 (...  

Linux basic terminal commands part 5 (find command)
   • Linux podstawowe komendy terminala cz 5 (k...  

Assembla / MyGet live chat - package management in the software development lifecycle
   • Assembla/MyGet live chat - package managem...  

Opening Firefox Google Chrome Chromium from a Linux terminal    • Otwieranie przeglądarki Firefox Google Ch...  



INSTAGRAM:   / itbox_pl  


Nesta página do site você pode assistir ao vídeo on-line GIT - Two GitHub accounts one computer - login and password | GitHub duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário ITbox 03 Dezembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 285 vezes e gostou 13 espectadores. Boa visualização!