How to initialize a git repository on a directory that contains a subdirectory that has git already initialized?
I am working on a MERN application and I have created a root folder "chatapp".
Inside the root directory, there are two sub-directories:
-
client
-
server
I am using React for the frontend and react comes with git already initialized.
I want to initialize git inside my root directory which contains the client subdirectory with git already initialized.
And when I run git init
, it initialized well but when I run git add
to stage the files for commit, it brings an error: screenshot of my code editor
I need to add both the client and server files to my git repository.
Do I need to first initialize git in the server file separately then merge or how do I add both files to the staging area?
How can I add do this without seeing the error to avoid conflicts in the repository?
Thank you,
accutane cream online – buy accutane in usa how to get cheap accutane
ivermectin buy – buy ivermectin pills ivermectin 6mg online
where to buy cialis online in usa – cialis 50 mg for sale tadalafil 20mg price comparison
doxycycline 400 mg price – doxycycline 100 mg tablet where to get prednisolone
ivermectin cream uk – buy ivermectin 12 mg online ivermectin australia
hydroxychloroquine ca – cenforce 50mg price valacyclovir usa
sildalis order – order sildalis for sale order metformin 1000mg sale
order ampicillin online cheap – order cipro generic buy plaquenil 200mg generic
purchase sildenafil online – cheap viagra without prescription cialis tadalafil 5mg
vrai viagra 50mg prix – viagra 100mg en ligne cialis 10mg en france
ivermectin 6 mg for humans – stromectol online buy ivermectin cost
order lyrica 75mg for sale – clomiphene 50mg usa order zithromax pill
doxycycline 100mg canada – oral neurontin 100mg buy synthroid 75mcg without prescription
order cenforce without prescription – cenforce canada purchase acyclovir generic