Closed kristinagxy closed 2 years ago
Hi, there are two simple ways you can do this:
In the Pycharm version control window, check the file you want to commit and push. In your case, check quiz1.py only.
Use terminal commands in the Pycharm. git commit -m '<commit message>' <path to the file>
and then git push
. In your case, replace the path to the file with src/quiz/quiz1.py
. Make sure you've added the quiz1.py
to git before you commit and push.
Got it! Thank you
Hello! This is actually a trivial question XD But after I pushed my quiz1, as I checked my repository, I find my quiz0.py and quiz0.ipynb have been pushed again automatically as well. Is there a way to stop this from happening and push only quiz1.py?