EcoExtreML / STEMMUS_SCOPE

Integrated code of SCOPE and STEMMUS
GNU General Public License v3.0
14 stars 2 forks source link

Passphrase request when comparing two branches #236

Open SarahAlidoost opened 3 weeks ago

SarahAlidoost commented 3 weeks ago

Discussed in https://github.com/orgs/EcoExtreML/discussions/235

Originally posted by **Crystal-szj** June 17, 2024 Hi @SarahAlidoost and @BSchilperoort, I'm working with [compare_git_branch_results.ipynb](https://github.com/EcoExtreML/STEMMUS_SCOPE/blob/main/test/compare_git_branch_results.ipynb), which updates two branches to their latest versions and compares the results. However, when I run ``` !cd $path_to_repository; git checkout $main_branch; git pull !cd $path_to_repository; git checkout $test_branch; git pull ``` The passphrase is requested: ``` Enter passphrase for key '/home/songz/.ssh/id_ed25519' ``` but it seems that there is no way to enter the password in a Jupyter notebook. Currently, I manually `git pull` twice to sync my local branches with Github. __Do you know of any smart alternatives or solutions for this?__ Your insights would be greatly appreciated. Thanks a lot. Zengjing