Commandline for Github is complicated and complex however a tool called gh makes git so much easier on commandline and makes using Github that much quicker and easy.
Install
Debian
|
|
Windows
|
|
Setup
|
|
Follow the prompts but choose SSH as authentication method. You can use steps from mansoorbarri.com/ssh-keys/ to generate SSH keys for github.
Set your repo to use GH auth
|
|
change “mansoorbarri/website.git” to your repo name*
Bash Alias
You can add aliases when using linux to make it much more alias, I have added the following lines in my ~/.bashrc
|
|
that’s it ✌🏽