Q 86. Explain p4 branch spec ?
Create or edit a branch mapping and its view.
p4 [g-opts] branch [-f] branchspec
p4 [g-opts] branch -d [-f] branchspec
p4 [g-opts] branch [-S stream] [-P parent] -o branchspec
p4 [g-opts] branch -i [-f]
"Hub for DevOps and Build and Release"------> AWS, Kubernetes, Docker, Ansible, Jenkins, Grafana, Prometheus, ANT, NANT, LINUX, SCM, Interview Questions
$#
|
The number of arguments supplied to a script.
|
$*
|
All the arguments are double quoted. If a script receives two arguments, $* is equivalent to $1 $2.
The "$*" special parameter takes the entire list as one argument with spaces between
|
$@
|
All the arguments are individually double quoted. If a script receives two arguments, $@ is equivalent to $1 $2.
The "$@" special parameter takes the entire list and separates it into separate arguments.
|
$?
|
The exit status of the last command executed.
|
$0
|
Gives File Name
|
#!/bin/sh
echo "File Name: $0"
echo "First Parameter : $1"
echo "Second Parameter : $2"
echo "Quoted Values: $@"
echo "Quoted Values: $*"
echo "Total Number of Parameters : $#"
If you're repo is available via https, you can use this command to branch ...
|
Subversion makes it easy (some think too easy) to create a new branch using the svn copy command.
|