-
Notifications
You must be signed in to change notification settings - Fork 362
Translate A-git-in-other-environments powershell #124
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
Conversation
@@ -1,15 +1,15 @@ | |||
[[_git_powershell]] | |||
=== Git in Powershell | |||
=== Powershell 上的 Git |
|
||
If you've installed GitHub for Windows, Posh-Git is included by default, and all you have to do is add these lines to your `profile.ps1` (which is usually located in `C:\Users\<username>\Documents\WindowsPowerShell`): | ||
如果你已经在 Windows 上安装了 GitHub,Posh-Git 会在默认情况下被包含进来,你只需要添加以下两行到你的 `profile.ps1` 文件 (文件位于 `C:\Users\<username>\Documents\WindowsPowerShell`): |
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.
Posh-Git 会被默认包含进来
完成 |
@IceNature GitHub For Windows 用的就是 PowerShell。 |
@IceNature 已经修改,感谢指正。 |
@branchzero 已审核完毕,没有修改意见。 |
@Geno1024 嗯,我还是统一一下吧,顺便把 @IceNature 上次提到的标题问题给改了。 |
|
||
(((powershell)))(((tab completion, powershell)))(((shell prompts, powershell))) | ||
(((posh-git))) | ||
The standard command-line terminal on Windows (`cmd.exe`) isn't really capable of a customized Git experience, but if you're using Powershell, you're in luck. | ||
A package called Posh-Git (https://github.com/dahlbyk/posh-git[]) provides powerful tab-completion facilities, as well as an enhanced prompt to help you stay on top of your repository status. It looks like this: | ||
Windows 中的普通命令行终端 (`cmd.exe`) 无法自定义 Git 使用体验,但是如果你正在使用 Powershell 那么你就十分幸运了。 |
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.
但是如果你正在使用 Powershell,那么你就十分幸运了。
@branchzero 审校完成 |
@sanddudu 感谢意见,已经按照要求进行修改。 |
Translate A-git-in-other-environments powershell
No description provided.