• Mrau Hu's avatar
    Fix: `error: Your local changes to the following files would be overwritten by... · d671d1d4
    Mrau Hu authored
    Fix: `error: Your local changes to the following files would be overwritten by merge` when run `pull()` method,
    because WSL2 Docker set 755 file permissions instead of 644, this results to the error.
    
    Updated `Extension` class: replaced `pull()` with `fetch_and_reset_hard()` method.
    
    Updated `apply_and_restart()` function: replaced `ext.pull()` with `ext.fetch_and_reset_hard()` function.
    d671d1d4
extensions.py 2.63 KB