Perforce: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:


== Commands ==
== Commands ==
=== help ===
도움말 내용을 보여준다. simple 입력시 자주 사용되는 명령어의 간단한 쓰임새를 보여준다. 자세한 명령어의 도움말을 보고자 한다면 p4 help <command> 를 입력하면 된다.
<pre>
$ p4 help simple
    Most common Perforce client commands:
client    Create or edit a client workspace specification and view
add        Open files for adding to the depot
edit      Open existing files for editing
delete    Open existing files for removal from the depot
opened    List open files
update    Update files in the current client workspace
resolve    Resolve updates to open workspace files
submit    Submit open files to the depot
revert    Revert open files and restore originals to workspace
</pre>
=== integrate ===
=== integrate ===
integrate -- Integrate one set of files into another
integrate -- Integrate one set of files into another

Revision as of 12:07, 5 October 2015

Overview

형상 관리 툴 Peforce(p4) 사용법 정리.

Commands

help

도움말 내용을 보여준다. simple 입력시 자주 사용되는 명령어의 간단한 쓰임새를 보여준다. 자세한 명령어의 도움말을 보고자 한다면 p4 help <command> 를 입력하면 된다.

$ p4 help simple

    Most common Perforce client commands:

	client     Create or edit a client workspace specification and view

	add        Open files for adding to the depot
	edit       Open existing files for editing
	delete     Open existing files for removal from the depot
	opened     List open files 

	update     Update files in the current client workspace 
	resolve    Resolve updates to open workspace files

	submit     Submit open files to the depot
	revert     Revert open files and restore originals to workspace

integrate

integrate -- Integrate one set of files into another

<source lang=bash> $ p4 integrate [options] fromFile[revRange] toFile $ p4 integrate [options] -b branch [-r] [toFile[revRange] ...] $ p4 integrate [options] -b branch -s fromFile[revRange] [toFile ...] $ p4 integrate [options] -S stream [-r] [-P parent] [file[revRange] ...] </source>

References

<references />