Forked from UbuntuEvangelist/Get The Best Git Services From Expert
Created
September 15, 2021 17:01
-
-
Save LinuxPlaner/4dd1f9bc1576a71ee97720489e9c45d3 to your computer and use it in GitHub Desktop.
Git GitHub GitLab
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo add-apt-repository ppa:git-core/ppa | |
sudo apt update | |
sudo apt install git | |
git --version | |
sudo git config --global user.name "masum" | |
sudo git config --global user.email [email protected] | |
sudo apt update | |
sudo -i | |
ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
eval "$(ssh-agent -s)" | |
ssh-add ~/.ssh/id_rsa | |
cat /root/.ssh/id_rsa.pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment