terminal · Sept 2024
Starting a Project: GitBash Terminal
Follow these simple steps to set up your new project using GitBash: 1. Navigate to Your Directory: Use the cd command to navigate to the directory where you want to create your project. Example: cd…
Follow these simple steps to set up your new project using GitBash:
-
Navigate to Your Directory: Use the
cdcommand to navigate to the directory where you want to create your project. Example:cd Desktop -
Create a New Directory: Use the
mkdircommand to create a new directory for your project. Example:mkdir newProject -
Create Files for Your Project: Use the
touchcommand to create files such asindex.html,styles.css, andapp.js. Example:touch index.html,touch styles.css,touch app.js -
Open Your Code Editor: You can open Visual Studio Code directly from the terminal using the
code .command. Example:code .
Your project directory is now set up and ready for you to start coding!