<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>p4 commands for users Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/p4-commands-for-users/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/p4-commands-for-users/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:53:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Most User P4 Command Line &#8211; P4 Commands Reference</title>
		<link>https://www.scmgalaxy.com/tutorials/most-user-p4-command-line/</link>
					<comments>https://www.scmgalaxy.com/tutorials/most-user-p4-command-line/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 13 May 2010 10:59:06 +0000</pubDate>
				<category><![CDATA[Perforce]]></category>
		<category><![CDATA[List of P4 Commands]]></category>
		<category><![CDATA[p4 Command Line]]></category>
		<category><![CDATA[P4 Command line Guide]]></category>
		<category><![CDATA[P4 Command line introduction]]></category>
		<category><![CDATA[P4 Command line list]]></category>
		<category><![CDATA[P4 COmmand line quick guide]]></category>
		<category><![CDATA[p4 command line reference]]></category>
		<category><![CDATA[P4 Command Reference]]></category>
		<category><![CDATA[p4 commands for users]]></category>
		<category><![CDATA[P4 Commands overview]]></category>
		<category><![CDATA[Perforce command-line]]></category>
		<category><![CDATA[Perforce p4 commands]]></category>
		<category><![CDATA[User p4 commands]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/05/13/most-user-p4-command-line/</guid>

					<description><![CDATA[<p>p4 add Open file(s) in a client workspace for addition to the depot. Assigns a specific file type to a [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/most-user-p4-command-line/">Most User P4 Command Line &#8211; P4 Commands Reference</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-4382" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/05/p4-command-line.png" alt="p4-command-line" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/05/p4-command-line.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/05/p4-command-line-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 add</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Open file(s) in a client workspace for addition to the depot.</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Assigns a specific file type to a new file, overriding any settings in the typemap table</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 add -t binary file.pdf </span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Opens all the files within the user&#8217;s current directory for </span><span style="font-family: Courier; font-size: small;">add</span><span style="font-family: Palatino-Roman; font-size: small;">, and links these files to changelist </span><span style="font-family: Courier; font-size: small;">13</span><span style="font-family: Palatino-Roman; font-size: small;">.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 add -c 13 *</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Opens all </span><span style="font-family: Courier; font-size: small;">*.c </span><span style="font-family: Palatino-Roman; font-size: small;">files in the user&#8217;s </span><span style="font-family: Courier; font-size: small;">~/src </span><span style="font-family: Palatino-Roman; font-size: small;">directory for </span><span style="font-family: Courier; font-size: small;">add</span><span style="font-family: Palatino-Roman; font-size: small;">; also opens the </span><span style="font-family: Courier; font-size: small;">README </span><span style="font-family: Palatino-Roman; font-size: small;">file in the user&#8217;s current working</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">directory for </span><span style="font-family: Courier; font-size: small;">add</span><span style="font-family: Palatino-Roman; font-size: small;">. These files are linked to the default changelist.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 add README ~/src/*.c</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Opens a file named </span><span style="font-family: Courier; font-size: small;">*.c </span><span style="font-family: Palatino-Roman; font-size: small;">for </span><span style="font-family: Courier; font-size: small;">add</span><span style="font-family: Palatino-Roman; font-size: small;">.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 add -f *.c</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 admin</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Perform administrative operations on the server.</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Stop the Perforce server</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 admin stop </span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 change</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Create or edit a changelist specification.</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Create a new changelist.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 change</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Edit previously submitted changelist 25. Administrator or superuser access is required.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 change -f 25</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 changelists</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">List submitted and pending changelists.</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 delete</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Open file(s) in a client workspace for deletion from the depot.</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Opens the file called </span><span style="font-family: Courier; font-size: small;">README </span><span style="font-family: Palatino-Roman; font-size: small;">in the depot&#8217;s top level directory for deletion. The corresponding file within the client workspace is immediately deleted, but the file is not deleted from the depot until the default changelist is submitted.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 delete //depot/README</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Opens </span><span style="font-family: Courier-Oblique; font-size: small;"><i>file </i></span><span style="font-family: Palatino-Roman; font-size: small;">in the current client workspace for deletion. The file is immediately removed from the client orkspace, but won&#8217;t be deleted from the depot until changelist 40 is sent to the server with </span><span style="font-family: Courier; font-size: small;">p4 submit</span><span style="font-family: Palatino-Roman; font-size: small;">.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 delete -c 40 </span><span style="font-family: Courier-Oblique; font-size: small;"><i>file</i></span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 edit</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Opens file(s) in a client workspace for edit.</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Opens all files ending in </span><span style="font-family: Courier; font-size: small;">.txt </span><span style="font-family: Palatino-Roman; font-size: small;">within the current directory&#8217;s </span><span style="font-family: Courier; font-size: small;">doc </span><span style="font-family: Palatino-Roman; font-size: small;">subdirectory for </span><span style="font-family: Courier; font-size: small;">edit</span><span style="font-family: Palatino-Roman; font-size: small;">. These files are linked to the default changelist; these files are stored as type </span><span style="font-family: Courier; font-size: small;">text </span><span style="font-family: Palatino-Roman; font-size: small;">with keyword expansion.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 edit -t text+k doc/*.txt</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 have</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">List files and revisions that have been synced to the client workspace</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 info</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Display information about the current client and server.</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 integrate</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Open files for branching or merging.</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Branch or merge all files in </span><span style="font-family: Courier; font-size: small;">//depot/dev/&#8230; </span><span style="font-family: Palatino-Roman; font-size: small;">to the corresponding files in</span></p>
<p><span style="font-family: Courier; font-size: small;">//depot/rel2/&#8230; </span><span style="font-family: Palatino-Roman; font-size: small;">If there is no corresponding file in </span><span style="font-family: Courier; font-size: small;">//depot/rel2/&#8230;</span><span style="font-family: Palatino-Roman; font-size: small;">, this creates it.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 integ //depot/dev/&#8230; //depot/rel2/&#8230;</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 job</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Create or edit a defect, enhancement request, or other job specification.</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 login</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Log in to a Perforce server by obtaining a ticket.</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 passwd</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Change a user’s Perforce password on the server.</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 resolve</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Resolve conflicts between file revisions.</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 revert</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Discard changes made to open files.</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Revert all open files to their pre-opened state.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 revert //depot/&#8230;</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 submit</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Send changes made to open files to the depot.</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Submit the default changelist. The user’s revisions of the files in this changelist are stored in the depot.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 submit</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Submit changelist 41.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 submit -c 41</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 sync</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Copy files from the depot into the workspace.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 sync</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 sync file.c#4</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 sync //depot/proj1/&#8230;@21</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>p4 user</b></span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Create or edit Perforce user specifications and preferences.</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">View the user specification of Perforce user </span><span style="font-family: Courier; font-size: small;">joe</span><span style="font-family: Palatino-Roman; font-size: small;">.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 user joe</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Edit the user specification for the current Perforce user.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 user</span></p>
<p><span style="font-family: Palatino-Roman; font-size: small;">Delete the user specification for the Perforce user </span><span style="font-family: Courier; font-size: small;">sammy</span><span style="font-family: Palatino-Roman; font-size: small;">.</span></p>
<p><span style="font-family: Courier; font-size: small;">p4 user -d sammy</span></p>
<p><span style="font-family: Helvetica-Bold; font-size: large;"><b>P4CONFIG</b></span></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/most-user-p4-command-line/">Most User P4 Command Line &#8211; P4 Commands Reference</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/most-user-p4-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
