GIT - Part -1 - introduction - installation - Basic commands
Git download:
https://git-scm.com/downloads
----------------- GIT COMMANDS -------------------
Initial Setup :
git config --global user.name "user-name"
git config --global user.email "[email protected]"
** Setting up code base **
Go to github UI -- create
git clone your-remote-repository-url
** Adding file and pushing to repo **
Create file
git status
git add .
git commit -m "Initial commit"
git push origin main
** Branch **
git branch
git checkout -b new-branch-name
git add
git commit -m "commit message"
git push origin new-branch-name
github UI -- Raise PR -- Merge into Main