'How can I upload a file to a GitHub Codespaces environment?

I use GitHub Codespaces, but I don't know how to upload a single file to GitHub Codespaces without the assistance of, for example, github.



Solution 1:[1]

Simple Drag and Drop has worked for me.

Solution 2:[2]

I was able to transfer a ton of training data from firebase to a codespace using firebase-admin.

in the codespace terminal:

pip install firebase-admin 
pip install --ignore-installed <other firebase-admin dependencies>
run whatever script you use to download things from firebase 

note that there are storage limits

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Daniel Habenicht
Solution 2 Aaron