Building a Major Project with a team on a Civil Contractor website. live preview is here https://classifiedstudentkabir.github.io/Major-Project/
https://civil-contractor-major-project.vercel.app/
https://civil-contractor-major-project-admi.vercel.app/index.html
git clone https://github.com/classifiedstudentkabir/Major-Project.git
cd command to enter the project directory:
cd Major-Project
ls to check where is your clone is savedgit status to see your current branch. You should be on the main branch.
git status
If a teammate has uploaded new files after you cloned the repository, you need to pull the latest changes to your local machine.
Major-Project directory, run this command to download and merge new files from the remote repository:
git pull origin main
When you have made changes (like adding a new folder or file) and want to upload them to the shared GitHub repository, you will use these commands.
git add .
git commit -m "Your descriptive message here"
main branch on GitHub:
git push origin main
⚠️ You only need to do this the very first time you use Git on your computer.
If you haven’t configured your Git identity before, run these commands in your terminal. This tells Git who you are for all future commits.
git config --global user.name "Your Full Name"
git config --global user.email "your_github_email@example.com"