How to detach “git gui” started in “Git bash” on Windows?

后端 未结 5 1576
南笙
南笙 2021-02-06 05:22

For example,

  1. I start \"git bash\";
  2. I navitage to certian directory;
  3. I start git gui&;
  4. I close the console window or pre
5条回答
  •  南方客
    南方客 (楼主)
    2021-02-06 05:59

    If the gitgui is already started, you can disown the job so that it doesn't end with the console:

    disown -h 
    

    If you want to do it when you start Git GUI (so you just launch and forget) there is nohup but for an unknown reason it's not in the binaries distributed by MsysGit

提交回复
热议问题