Skip to content
Go back

Understanding Git and Github

Published:  at  05:00 AM

Setting up git on linux.

I am assuming you have ubuntu or any debian based distro installed on your PC.

sudo apt update
sudo apt upgrade
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
git --version
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global init.defaultBranch main
git config --get user.name
git config --get user.email
ls ~/.ssh/id_ed25519.pub
ssh-keygen -t ed25519
cat ~/.ssh/id_ed25519.pub


Previous Post
Understanding Docker
Next Post
Technical Analysis of WannaCry Ransomware