You've already forked SharedScripts
mirror of
https://github.com/jaapbrasser/SharedScripts.git
synced 2025-12-24 21:51:38 +02:00
Added documentation
This commit is contained in:
@@ -16,6 +16,7 @@ Will create a folder in C:\Temp named after the PR number, and clone the specifi
|
||||
param(
|
||||
[string] $Uri,
|
||||
[string] $Path = 'C:\Temp',
|
||||
# If this parameter is specified VScode will not automatically open after pulling in the PR
|
||||
[switch] $NoCode
|
||||
)
|
||||
|
||||
@@ -38,13 +39,12 @@ Will create a folder in C:\Temp named after the PR number, and clone the specifi
|
||||
|
||||
Set-Location (Get-ChildItem).fullname
|
||||
|
||||
# Retrieve status of the current branch
|
||||
git status
|
||||
|
||||
# open VScode
|
||||
If (!$nocode) {
|
||||
code .
|
||||
}
|
||||
|
||||
|
||||
# Retrieve status of the current branch
|
||||
git status
|
||||
} catch {}
|
||||
} catch {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user