I am a newbie to Git and need to solve a simple task.
There is a cross-plarform open-source project in C++ on GitHub that I need to modify/patch. The development and debugging has to be performed on Windows (in Visual Studio), the production environment is on Ubuntu Linux. I am able to clone the sources from GitHub and compile them successfully on both platforms.
The goal is to track and propagate changes made on Windows and propagate them to Linux for production building. I've tried to simply copy the modified source directories from Windows to Linux, however there were issues with file permissions and line endings (CRLF vs LF) and the project failed to compile.
Could you please recommend me some kind of smart solution how to solve this, i.e. how to track source changes on Windows and commit them to Linux build machine? The GitHub project is work on progress and I have to apply updates as well (it should stay linked to GitHub).