Perforce

From 탱이의 잡동사니
Revision as of 12:07, 5 October 2015 by Pchero (talk | contribs) (→‎Commands)
Jump to navigation Jump to search

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 />