[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wrap-search 3.3.5
From: |
Gregory Heytings |
Subject: |
Re: wrap-search 3.3.5 |
Date: |
Thu, 01 Sep 2022 21:59:42 +0000 |
BTW I found the -q option for both git-commit(1) and git-push(1) but it
doesn't seem to work for 'git commit'?
I guess you see:
On branch master
nothing to commit, working tree clean
when the file hasn't changed? You can check whether it has changed with
git diff --quiet --exit-code
or
git diff-index --quiet HEAD
Both commands return 1 if there are changes, and 0 otherwise. So you can
make your "git commit && git push" conditional to that return value.
- Re: wrap-search 3.3.5, tomas, 2022/09/01
- Re: wrap-search 3.3.5, Gregory Heytings, 2022/09/01
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/09/01
- Re: wrap-search 3.3.5, Gregory Heytings, 2022/09/01
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/09/01
- Re: wrap-search 3.3.5, Gregory Heytings, 2022/09/01
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/09/01
- Re: wrap-search 3.3.5,
Gregory Heytings <=
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/09/01
- Re: wrap-search 3.3.5, Yuri Khan, 2022/09/02
- Re: wrap-search 3.3.5, Gregory Heytings, 2022/09/02
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/09/02