I pushed go & react codes to github.
Go codes are successfully commited but React codes are not.
React content is created by create-react-app
.
article
├ api
│ └ main.go
└ client
└ React content made by create-react-app
Here is target github
https://github.com/jpskgc/article
I trid following command, but not solved.
error: the following file has staged content different from both the
file and the HEAD:
client
(use -f to force removal)
$ git rm --cached client -f
rm 'client'
Also i tried following command, but issue is not solved
$ rm -rf client/.git
contents of client folder is to be commited in github. but actually not committed.
git status
and post the log