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 tukusejssirs/dotfiles에서 master으로 푸시함

6 년 전

tukusejssirs deleted branch gbranch_optim at tukusejssirs/dotfiles

6 년 전

tukusejssirs tukusejssirs/dotfiles에서 gbranch_optim으로 푸시함

6 년 전

tukusejssirs created new branch gbranch_optim at tukusejssirs/dotfiles

6 년 전

tukusejssirs deleted branch 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 년 전