Skip to content
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

How to run git command interactively? #502

Open
TerryChan opened this issue Nov 10, 2022 · 0 comments
Open

How to run git command interactively? #502

TerryChan opened this issue Nov 10, 2022 · 0 comments

Comments

@TerryChan
Copy link

For some git commands, it maybe interactive, such as git pull, when the file that pulled is opened locally, it will require user input. Such as the Word document is opened locally, and we pull it, it will prompt as below, and waiting user input(y or n).
Unlink of file '新建 Microsoft Word 文档.docx' failed. Should I try again? (y/n)
image

I want to achieve the same effect as the command line with dugite - stop to waiting the user input, and accept the input then continue. But I didn't find a method to implement it. Does anyone know how to make it with dugite:

  1. How to let it stop when the git command asks user input?
  2. How to pass user input to it and then it continues?

Thanks anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant