git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* disable interactive prompting
@ 2017-10-04 16:10 Ernesto Alfonso
  2017-10-04 17:01 ` Jonathan Nieder
  2017-10-04 17:05 ` Jeff King
  0 siblings, 2 replies; 5+ messages in thread
From: Ernesto Alfonso @ 2017-10-04 16:10 UTC (permalink / raw)
  To: git

Hi,

Waiting for git-push synchronously slows me down, so I have a bash
alias/function to do this in the background. But when my origin is https, I
get an undesired interactive prompt. I've tried to disable by
redirecting stdin:

git push ${REMOTE} ${BRANCH} &>/dev/null </dev/null

but I still get an interactive prompt.

Is there a way to either

1. disable interactive prompting
2. programmatically determine whether a git command (or at least a git
push) would interactively prompt

Thanks,

Ernesto

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-04 17:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-04 16:10 disable interactive prompting Ernesto Alfonso
2017-10-04 17:01 ` Jonathan Nieder
2017-10-04 17:09   ` Ernesto Alfonso
2017-10-04 17:05 ` Jeff King
2017-10-04 17:46   ` Ernesto Alfonso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).