From 7e02ff5ba0e433498400a7b71e9c18aab4143332 Mon Sep 17 00:00:00 2001 From: Kshitij <160704796+kshitij-ka@users.noreply.github.com> Date: Mon, 24 Feb 2025 23:23:35 +0530 Subject: [PATCH] Added git config and branch info in readme. --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index b09525e..d3bbd6b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,26 @@ # CC-MINI (2025) --- + +## Git config + +Create a new directory for this project, and run these following commands for initalizing git: + +```shell +git clone https://github.com/kshitij-ka/cc-mini.git +cd cc-mini +git config --local user.name "Your name" +git config --local user.email "your@ema.il" +git config --local core.autocrlf input # For Linux/MacOS users +git config --local core.autocrlf true # For Windows users +git checkout frontend # If you're working on frontend +git checkout backend # If you're working on backend +``` + +## Where to push? + +- For frontend, please push to [Frontend](https://github.com/kshitij-ka/cc-mini/tree/frontend/Frontend) folder in the [frontend branch](https://github.com/kshitij-ka/cc-mini/tree/frontend). +- For backend, please push to [Backend](https://github.com/kshitij-ka/cc-mini/tree/backend/Backend) folder in the [backend branch](https://github.com/kshitij-ka/cc-mini/tree/backend/). +- I will be merging changes from both the branches in the main branch for deploying. + +---