tukusejssirs commented on issue demure/dotfiles#9
Add more information about the Git files in promptI have just noticed that when the remote branch (that is tracked by local branch currently checked out) has diverged from the local branch, we try to merge it by pulling the changes (`git pull`), and there are some conflicts, there are some additional ‘shortcuts’ in the `git status -s` output:
4 years ago
tukusejssirs commented on issue demure/dotfiles#9
Add more information about the Git files in promptI have just added two new file statuses (I have forgot about them) to the issue description. I add them in this comment too, just to make it obvious.
4 years ago
tukusejssirs commented on issue demure/dotfiles#9
Add more information about the Git files in promptIt looks nice. :)
4 years ago
tukusejssirs commented on issue demure/dotfiles#9
Add more information about the Git files in promptYou’re right about `grep -c`—I have totally forgotten it! I have changed it in the issue description.
4 years ago
tukusejssirs opened issue demure/dotfiles#9
Add more information about the Git files in prompt4 years ago
tukusejssirs commented on issue demure/dotfiles#8
`subbash/prompt`: Length of detached HEAD hashI agree on short hashes shorter than 7 hex digits. I always keep it unmodified (i.e. to 7 digits as it is set by default). I just wanted to note that (1) you hard-coded it to 8 digits; (2) it won’t change the number of digits if someone changes their config or when the minimum hash size that would not collide is higher than 8 digits (like the `linux` repo).
5 years ago
tukusejssirs opened issue demure/dotfiles#8
`subbash/prompt`: Length of detached HEAD hash5 years ago
tukusejssirs commented on issue demure/dotfiles#7
`subbash/prompt`: Any reason for adding `[` and `]` to GBranch var instead of PS1?Oh, I forgot about that. I think it is better to have a few more characters in comparison with additional `if` statement.
5 years ago
tukusejssirs commented on issue demure/dotfiles#6
`subbash/prompt`: GBranch: simplify the commandNo problem. I just gave a suggestion which can be rejected—as always. :)
5 years ago
tukusejssirs opened issue demure/dotfiles#7
`subbash/prompt`: Any reason for adding `[` and `]` to GBranch var instead of PS1?5 years ago
tukusejssirs pushed to master at tukusejssirs/dotfiles
5 years ago
tukusejssirs
deleted branch gbranch_optim
at tukusejssirs/dotfiles
5 years ago
tukusejssirs pushed to gbranch_optim at tukusejssirs/dotfiles
5 years ago
tukusejssirs created new branch gbranch_optim at tukusejssirs/dotfiles
5 years ago
tukusejssirs
deleted branch git_branch_name
at tukusejssirs/dotfiles
5 years ago
tukusejssirs commented on issue demure/dotfiles#6
`subbash/prompt`: GBranch: simplify the commandIf anything, it should faster (I’ve removed the branch name from the output):
5 years ago
tukusejssirs opened issue demure/dotfiles#6
`subbash/prompt`: GBranch: simplify the command5 years ago
tukusejssirs commented on issue demure/dotfiles#5
Feature Request: `subbash/prompt`: checkout to ‘detached HEAD’You’re right. I did know that I should create a new branch if I want to commit. However, I _thought_ it is still connected to a branch.
5 years ago