Re: Cannot negate `*` ignore pattern for directory with space in the name

2018-09-18 Thread Victor Engmark
On 19/09/2018 05:59, Duy Nguyen wrote: > On Tue, Sep 18, 2018 at 6:13 AM Victor Engmark > wrote: […] >> $ cat > .gitignore << EOF >>> * >>> !foo bar >>> !foo\ bar >>> !"foo bar" > > No need to quote, either with double qu

Cannot negate `*` ignore pattern for directory with space in the name

2018-09-17 Thread Victor Engmark
$ cat > .gitignore << EOF > */ > !foo\ bar/ > EOF $ git status --short ?? .gitignore ?? foo bar/ I encountered this problem because Visual Studio Code creates a configuration directory called "Code - OSS", and I exclude everything in ~/.config by default to avoid noise in `git status`. $ git --version git version 2.19.0 -- Kind regards Victor Engmark

`-u`/`update-head-ok` unsupported on pull

2015-10-08 Thread Victor Engmark
According to the documentation these options are supported: $ git help pull | grep -e '--update-head-ok' -u, --update-head-ok However: $ git pull --update-head-ok error: unknown option `update-head-ok' Using: $ git --version git version 2.6.1 $ pacman --query --info git | grep ^Version Ver