git clone https://github.com/TZYOUNGDEVELOPERS/smartprogrammers
npm installFirst, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
create new branch
git checkout -b branch_name
Add Changes
git add .
Remove .env from Staged Commit
git rm --cached .envOR
git restore --staged .envCommit
git commit -m "Message"
Pull
git pull origin main
Push
git push
For Both Professionals and Beginners but if you are new into Git please don't use it if you feel uncomfortable
Add Changes
git add .
Commit
git commit -m "Message"
Pull
git pull origin main
Push
git push
git checkout main # or the branch you want to merge intoPull Changes From Origin Branch and Solve COnflicts if they exist
git pull origin mainNow, merge the branch with the changes you want to incorporate. Replace feature-branch with the name of the branch you're merging from.
git merge feature-branchNow Push Your Local Changes on Main to remote Main
git pushgit checkout main