1
0
Fork 0

Merging upstream version 0.16.6.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-11 18:51:23 +01:00
parent 0b991237c5
commit 690baba024
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
6 changed files with 98 additions and 47 deletions

View file

@ -333,8 +333,18 @@ For example, the default setting corresponds to
branch,commit_msg,commit_time
```
Here `branch` includes both branch name and status. To get the branch name alone, use `branch_name`.
Here `branch` includes both branch name and status.
The status symbols are similar to the ones used in [spaceship-prompt](https://spaceship-prompt.sh/sections/git/#Git-status-git_status).
To customize these symbols, add a file in `$XDG_CONFIG_HOME/gita/symbols.csv`.
The default settings corresponds to
```csv
dirty,staged,untracked,local_ahead,remote_ahead,diverged,in_sync,no_remote
*,+,?,↑,↓,⇕,,∅
```
Only the symbols to be overridden need to be defined.
You can search unicode symbols [here](https://www.compart.com/en/unicode/).
### customize git command flags