➡️ Basic Commands ⬅️
- git —-version (Check Version )
- git init (Initialize the repository)
- git config --global user.name ‘XYZ’
- git config --global user.email ‘xyz@gmail.com’
- mkdir project_name
- touch file_name.something
- git add . (Add all files)
- git status (Files in staging area)
- git rm --cached file_name.something (Removes single file)
- git commit -m ‘Initial commit’ (Vim = i; esc + :wq)
- Add remote repository
- git remote (Lists the remote repositories)
- git push -u origin master