-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add no-pager option to git branch #2637
Conversation
Can you elaborate on the problem you’re seeing? Adding this argument seems fine, but hundreds of thousands of people, including me, have used the install script and not had to press a key to complete it. |
While running the installation script, the following screen displayed and I must press # Install nvm
curl -o- 'https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh' | bash
# Displayed during installation.
* (HEAD detached at FETCH_HEAD)
master
(END) The following is information about installation environment echo $SHELL
/bin/zsh
$SHELL --version
zsh 5.8 (x86_64-pc-linux-gnu)
git --version
git version 2.33.1 Thank you |
What else is in that script before the curl? How do you run the script? Do you have any git config related to a pager? |
Run as follow chmod +x ./test.sh
./test.sh
#!/bin/sh
echo asdf
curl -o- 'https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh' | bash You can see my other script in: https://github.com/nix6839/dotfiles/blob/master/resource/run_once_script/install/node.sh (See Thank you |
That all seems simple enough. What about your git config? |
[user]
user.name = b
user.email = b
user.signingkey = b
[commit]
gpgsign = true
[pull]
rebase = false However, if I run Thank you |
One more question :-) what's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a few other git branch commands; they should presumably all have it?
Does git v1.7.10 have --no-pager
?
The other git v1.7.10 has Thank you |
Let's update the PR to add |
Okay everything is done. |
Thank you for your hard work. |
To use
install.sh
in an automated script when there is nono-pager
option, the user must press q directly. It's so terrible.