Closed julianpistorius closed 6 years ago
Note: I'm using a Python 3 interpreter, as does the Binder environment.
@julianpistorius Can you can you commit from the binder or just edit and run?
@agladstein Good question. I haven't tried committing from Binder. I think it might be possible if you can open a console, or a Bash cell. I wouldn't advise this though. It's risky from a security perspective - way too easy to mess up and leave your GitHub credentials on a publicly accessible server.
The way to do it securely and (relatively) simply is:
I might test this out.
@agladstein Update: Yes, this is possible. You have a full terminal available. I was able to make a patch and download it. I could also do git commit
and git push
if I wanted - but I don't like typing my password into random Jupyter notebooks on the internet. :) If you are going to do that then definitely destroy the running terminal as soon as possible afterwards.
Beware! - This pull request might delete files in your PyCharm
.idea
folder. Do the following steps:.idea
folder:cp -R .idea ../idea_folder_backup
git pull
cp -R ../idea_folder_backup/ .idea/
Other changes:
requirements.txt
andrequirements.in
files. This makes it possible to...