Git Basic Guide: Master Essential Commands for Beginners
Initial Project Git Configuration update Add remote Update Clone Connect SSH Step - 1 : Generating a new SSH key Step - 2 : Adding your SSH key to the ssh-agent Step - 3 : Adding a new SSH key to your account Example (Step) Short Notes create a new repository on the command line push an existing repository from the command line Initial Project bash git init git add . git commit -m " Initial commit " git remote add origin < repository-ur l > git push -u origin master Git Configuration As you read briefly in Getting Started, you can specify Git configuration settings with the git config command. One of the first things you did was set up your name and email address: bash git config --global user.name " AvN Learn " git config --global user.email avnlearn@gmail.com git config --list --show-origin git config --global core.editor nvim git config --global init.defaultBranch main Now you’ll learn a few of the more interesti...
By
Guddu Kumar