I am working with a cloned repo from git for a project, and I am making changes to the cloned files constantly. I ran into a problem recently: no matter what I change in the local files from the cloned github project, those changes wouldn't apply to the colab notebook (for example if I add a print here and there, nothing would print, but the functions are called).
I began facing this problem after trying to push all my files from my colab to git, because I know they are not being saved if I only save the notebook, and I followed the commands from here:
https://navan0.medium.com/how-to-push-files-into-github-from-google-colab-379fd0077aa8
I am not sure, but I might have started some multithreading, and I am not good at dealing with that. No matter what I change, the changes won't appear to have taken place, and I must push the changes to git and then clone it again and then they would appear. Also, I must terminate the runtime, because I cannot get rid of the directory with !rm -rf directory_name, it will still appear in files. If I re-run same command, it says directory does not exist.
I am pretty sure it's multithreading or some forked processes. I would like to terminate that.
Link to my notebook: https://colab.research.google.com/drive/1WMaDcEwOdPEsZL65nU_T4Ps9tIkyPY5v?usp=sharing