Key Concepts

Essential Linux Commands

  1. pwd: Shows the present working directory.
  2. ls: Lists items in the directory.
  3. git --version: Checks the Git version.
  4. cd (folder_name): Changes directory.
  5. ls -a: Lists all hidden files.
  6. mkdir folder_name: Makes a folder.
  7. touch baj.html: Creates a file with the touch command.
  8. vim baj.html: Opens the file in the terminal.
  9. To write in the file: Press i to insert, then to save press Esc followed by shift + : + wq.
  10. To show the file: cat baj.html.
  11. git clone (github repo copy address) this way we can clone any git hub repo through gitbash
  12. git clone (github repo copy address) hafiu this way we can clone any git hub repo through gitbash into the hafiu folder that will be created locally in my local harddisk
  13. code . from gitbash the folder will be open in VS code

Git Basics in VS Code

  1. Check Git Status: git status
  2. Initialize Git: git init (required only once for a new project)