< Back
Git-CloneClip
Post
NAME Git-CloneClip
SYNOPSIS
Clone git url form clipboard to repository directory
SYNTAX
Git-CloneClip [-WorkingDirectory] <String> [[-Sleep] <Int16>] [<CommonParameters>]
DESCRIPTION
Just copy the git URL to your clipboard and execute this command.
I embed this script to my total commander so I can directly clone to the selected directory.
PARAMETERS
-WorkingDirectory <String>
Your working directory.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Sleep <Int16>
Use sleep if you wannt to add some dely before closing the powershell host.
Delay in seconds.
Required? false
Position? 2
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Copy https://github.com/MiroslavMikus/Course ... gement.git
Git-CloneClip -WorkingDirectory 'C:\\Code'
RELATED LINKS
SYNOPSIS
Clone git url form clipboard to repository directory
SYNTAX
Git-CloneClip [-WorkingDirectory] <String> [[-Sleep] <Int16>] [<CommonParameters>]
DESCRIPTION
Just copy the git URL to your clipboard and execute this command.
I embed this script to my total commander so I can directly clone to the selected directory.
PARAMETERS
-WorkingDirectory <String>
Your working directory.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Sleep <Int16>
Use sleep if you wannt to add some dely before closing the powershell host.
Delay in seconds.
Required? false
Position? 2
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Copy https://github.com/MiroslavMikus/Course ... gement.git
Git-CloneClip -WorkingDirectory 'C:\\Code'
RELATED LINKS