- npm (Node Package Manager)
Open Terminal and navigate to desired root directory.
To clone the repository:
git clone https://github.com/drbarzyk/barzyk.dev.git
To install the required packages from package.json:
npm install
To run the development environment:
npm run dev
Create a new branch in the repository:
git branch <branch_name>
Switch to your branch (so you don't edit the main branch):
git checkout <branch_name>
To push changes to your branch, you must:
- Stage modified files with
git add
- Create a commit that captures these changes with
git commit
- Push this commit to the remote repository with
git push
!!! Before moving on, make sure you are on the correct branch. !!!
Stage your changes:
git add .
Create a commit with a meaningful message:
git commit -m "Added Getting Started section"
Push to the repo:
git push
Switch to the main branch:
git checkout main
Pull updates from main branch:
git pull
Switch back to your branch:
git checkout <branch_name>
Merge your branch with the main branch:
git merge main