Github intialization

I have completed a c++ project that I originally imported from Arduino. I also use the freeRTOS library. I created a repository on Github but I am having a hard time finding the documentation that instructs me how to import the complete project into Github. I thought that this would be easy but all my attempts have not been successful.

If anybody can point me to a reference I would appreciate it.

Thanks

Rick

Does Arduino/FreeRTOS/C++/PlatformIO have anything to do with the question? Isn’t this just a git/github question?

git init
git add .
git commit -m "init"
git remote add origin <GITHUB REPO>
git push origin master

?

yes, but as someone just learning GIT, my concern was if the Arduino and FreeRTOS libraries were also going to be uploaded to git. I still don’t know the answer to that but it does not appear to be so. I just don’t know. I sure don’t see them them in the GITHUB repo. I tried a bunch of different sequences of commands similar to what you wrote above but with no success.
I finally solved it by deleting the .git directory and then when I went to commit and sync, I was asked for a new github repo. I first tried editing the config file and changing the origin. That did not work as well as a bunch of other ideas I got online.

In any event, thanks so much for getting back to me. Thanks for your time

Best,

Rick

For ESP32, the FreeRTOS library is built-in with the core / framework. No need to upload anything. For external libraries, just make sure you properly reference them via lib_deps so your project will be reproducaibly compilable.