1
0
mirror of https://github.com/jaapbrasser/SharedScripts.git synced 2025-12-24 21:51:38 +02:00

Added description to comment based help

This commit is contained in:
Jaap Brasser
2019-07-06 23:58:51 +02:00
committed by GitHub
parent 8c819bf73f
commit 185d05dc68

View File

@@ -3,6 +3,9 @@ Function Get-GitPullRequestLocal {
.SYNOPSIS
Helper function that creates folder, clones single branch based of a GitHub pull request uri
.DESCRIPTION
This function is created to simplify working with pull requests. In order to get all the files on tbe local system in an organized method, I decided to group together these commands.
.EXAMPLE
Get-GitPullRequestLocal -Uri https://github.com/jaapbrasser/SharedScripts/pull/29
@@ -37,4 +40,4 @@ Will create a folder in C:\Temp named after the PR number, and clone the specifi
# Retrieve status of the current branch
git status
} catch {}
}
}