如何重新启动 git bash?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10482721/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 13:38:22  来源:igfitidea点击:

How can I restart git bash?

git

提问by deltanovember

Various documentation such as

各种文档,例如

http://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git

http://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git

and

http://help.github.com/ssh-key-passphrases/

http://help.github.com/ssh-key-passphrases/

Refer to restarting git bash. How do I do this from Linux?

请参阅重新启动 git bash。我如何从 Linux 执行此操作?

回答by Michael Mior

This is referring to the Git Bash shell which is installed via Cygwin on Windows systems. If you need to do this on Linux, simply close and reopen your terminal window. Often you can replace this step with source ~/.bashrc

这是指在 Windows 系统上通过 Cygwin 安装的 Git Bash shell。如果您需要在 Linux 上执行此操作,只需关闭并重新打开终端窗口即可。通常你可以用source ~/.bashrc