FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
msgraph-sdk-javascript/scripts/src/AddGithubUser.ps1 at dev · microsoftgraph/msgraph-sdk-javascript · GitHub
microsoftgraph
msgraph-sdk-javascript
Repository navigation
Code
Issues
79
(79)
Pull requests
35
(35)
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
msgraph-sdk-javascript
/
scripts
/
src
/
AddGithubUser.ps1
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (11 loc) · 458 Bytes
Breadcrumbs
msgraph-sdk-javascript
/
scripts
/
src
/
AddGithubUser.ps1
Copy path
File metadata and controls
14 lines (11 loc) · 458 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Param
(
[
string
]
$gitUserName
,
[
string
]
$gitUserEmailId
,
[
string
]
$gitRepoRoot
)
Write-Host
"
Configuring Github User:
"
-
ForegroundColor Magenta;
Set-Location
-
Path
$gitRepoRoot
;
Write-Host
"
Location changed to Git Repo Root '
$
(
Get-Location
)
'
"
-
ForegroundColor Green;
git config user.name
$gitUserName
git config user.email
$gitUserEmailId
Write-Host
"
Git user.name=
$
(
$gitUserName
)
and user.email=
$
(
$gitUserEmailId
)
is set.
"
-
ForegroundColor Green;
Back
|
FazBrowse Home
|
New Git URL