tukusejssirs

tukusejssirs коментарише на задатаку demure/dotfiles#9

Add more information about the Git files in prompt

I 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:

пре 5 година

tukusejssirs коментарише на задатаку demure/dotfiles#9

Add more information about the Git files in prompt

I 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.

пре 5 година

tukusejssirs коментарише на задатаку demure/dotfiles#9

Add more information about the Git files in prompt

It looks nice. :)

пре 5 година

tukusejssirs коментарише на задатаку demure/dotfiles#9

Add more information about the Git files in prompt

You’re right about `grep -c`—I have totally forgotten it! I have changed it in the issue description.

пре 5 година

tukusejssirs отвара задатак demure/dotfiles#9

Add more information about the Git files in prompt

пре 5 година

tukusejssirs коментарише на задатаку demure/dotfiles#8

`subbash/prompt`: Length of detached HEAD hash

I 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).

пре 6 година

tukusejssirs отвара задатак demure/dotfiles#8

`subbash/prompt`: Length of detached HEAD hash

пре 6 година

tukusejssirs коментарише на задатаку 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.

пре 6 година

tukusejssirs коментарише на задатаку demure/dotfiles#6

`subbash/prompt`: GBranch: simplify the command

No problem. I just gave a suggestion which can be rejected—as always. :)

пре 6 година

tukusejssirs отвара задатак demure/dotfiles#7

`subbash/prompt`: Any reason for adding `[` and `]` to GBranch var instead of PS1?

пре 6 година

tukusejssirs извршује push на master у tukusejssirs/dotfiles

пре 6 година

tukusejssirs избрисана филијалa gbranch_optim at tukusejssirs/dotfiles

пре 6 година

tukusejssirs извршује push на gbranch_optim у tukusejssirs/dotfiles

пре 6 година

tukusejssirs створи нову филијалy gbranch_optim at tukusejssirs/dotfiles

пре 6 година

tukusejssirs избрисана филијалa git_branch_name at tukusejssirs/dotfiles

пре 6 година

tukusejssirs коментарише на задатаку demure/dotfiles#6

`subbash/prompt`: GBranch: simplify the command

If anything, it should faster (I’ve removed the branch name from the output):

пре 6 година

tukusejssirs отвара задатак hp/gogs#219

Keyboard shortcuts

пре 6 година

tukusejssirs отвара задатак hp/gogs#218

Search in Issues

пре 6 година

tukusejssirs отвара задатак demure/dotfiles#6

`subbash/prompt`: GBranch: simplify the command

пре 6 година

tukusejssirs коментарише на задатаку 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.

пре 6 година