mirror of
https://github.com/facebook/sapling.git
synced 2024-10-04 22:07:44 +03:00
feat: set the sl --version
in the docs (#237)
Summary: Get the windowsAsset version in the docs. Pull Request resolved: https://github.com/facebook/sapling/pull/237 Reviewed By: bolinfest, zzl0 Differential Revision: D41476635 Pulled By: MichaelCuevas fbshipit-source-id: 3769923de939a46b956bc7949a90af75a5989f0f
This commit is contained in:
parent
473dfe676a
commit
be79ad0c06
@ -86,11 +86,11 @@ Note the following tools must be installed to leverage Sapling's full feature se
|
||||
|
||||
Note that the name of the Sapling CLI `sl.exe` conflicts with the `sl` shell built-in in PowerShell (`sl` is an alias for `Set-Location`, which is equivalent to `cd`). If you want to use `sl` to run `sl.exe` in PowerShell, you must reassign the alias. Again, you must run the following as Administrator:
|
||||
|
||||
```
|
||||
PS> Set-Alias -Name sl -Value 'C:\Program Files\Sapling\sl.exe' -Force -Option Constant,ReadOnly,AllScope
|
||||
PS> sl --version
|
||||
Sapling 20221108.091155.887dee39
|
||||
```
|
||||
<CodeBlock>
|
||||
PS> Set-Alias -Name sl -Value 'C:\Program Files\Sapling\sl.exe' -Force -Option Constant,ReadOnly,AllScope{'\n'}
|
||||
PS> sl --version{'\n'}
|
||||
Sapling {latestReleaseVersion}
|
||||
</CodeBlock>
|
||||
|
||||
### Linux
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user