Search code examples
gitpythonanywhere

Does pythonanywhere allow install other Git version in a free account?


I'm trying to run this command in bash console of pythonanywhere;

error

Text version:

git config credential.helper 'cache --timeout=900'
fatal: not in a git repository

Solution

  • IF you want to execute it from anywhere, configure the setting globally:

    git config --global credential.helper 'cache --timeout=900'
    

    That way, you don't depend on the current folder.
    But that would apply to all your repositories.