`

Perforce client command line usage start up

阅读更多

Step 1) Find where perforce is installed on the unix box.  

      Say this folder: /home/pvprapp1/opt/perforce

 

Step 2) Export the environment variable.

      Issue command: export PATH=$PATH:$HOME/opt/perforce/bin

      Issue command: export P4PORT=...net:1999

you can also export variables like  

      P4USER, P4PASSWD.

 

But some perforce are ticket based login strategy. "Ticket based" means, as soon as you issue "p4 login", you will get a ticket, and until the ticket expired or you issue "p4 logout", you are out.

 

Step 3) At this time, you can issue p4 command, and see a help menu.

      Issue command: p4

 

Step 4) Config the client setup.

Issue command: p4 client

 

Step 5) The above command will bring you to a vi editor. There, you can edit all the configurations.

      Client:  <workspace name> --- This is the P4CLIENT value

      Root:    <workspace location>

      View:    <which branch on perforce server is mapped to where>

 

      Issue command: export P4CLIENT= <your P4CLIENT value>

      In your later uage, you need to put your 3 EXPORT(PATH, P4PORT, P4CLIENT) into your .bashrc in your ~ folder.

 

Step 6) Synchronize with Perforce to get all the source code

      Issue command: p4 sync

 

 

 

分享到:
评论

相关推荐

    Perforce服务器端配置说明[整理].pdf

    双击Perforce.exe文件进行安装,然后选择p4命令行选项安装,并将其安装到与服务器并列存放的一个client文件夹里面。其他选项均选择默认安装。 添加用户和设置用户组 在添加用户之前,需要将破解的license文件拷贝...

    Perforce P4V 入门

    Perforce P4V是Perforce软件公司推出的一个版本控制系统客户端工具,主要用于软件版本管理和配置管理。本篇入门指南将介绍使用Perforce P4V的基本概念和步骤。 首先,需要注意的是,Perforce P4V软件及其文档的版权...

    Perforce Streams Adoption Guide

    Perforce Streams Adoption Guide是一份专业的文档,旨在指导用户如何从Perforce传统的depot(仓库)迁移到使用stream(流)的工作模式。Perforce是一款广泛使用的版本控制系统,而stream模式是其较新的特性,用以...

    Perforce Official Training Course Slides - 3 Days PPT

    Perforce 是一个强大的版本控制系统,常用于管理软件开发中的源代码和其他文件。Perforce 官方培训课程旨在帮助用户理解并有效地使用 Perforce 进行版本控制操作。本课程分为三天,涵盖了从基础到高级的各种主题,以...

    Perforce使用介绍

    Perforce是一款强大的软件配置管理工具,它基于可扩展的客户端/服务器架构,利用TCP/IP协议进行通信。Perforce的核心功能包括版本控制、工作空间管理、变更处理和分支模型,适用于多平台环境,支持50多种操作系统。...

    perforce vs. svn

    标题“Perforce vs. SVN”以及描述“perforce svn comparison”明确指出本文将对Perforce和Subversion(简称SVN)这两款版本控制系统进行对比分析。版本控制系统是软件开发过程中不可或缺的工具,它帮助团队管理代码...

    Perforce x Helix 分支策略

    在深入分析Perforce x Helix分支策略之前,首先要明确Perforce Helix Core本身是一款源代码管理工具,其最大的特点就是高效的分支管理和版本控制能力。Perforce Helix之所以在分支策略方面表现突出,源于其不复制...

    perforce培训.pdf

    perforce培训.pdf

    perforce软件配置管理使用说明

    ### Perforce软件配置管理使用说明 #### Perforce服务器配置说明 **Perforce**(简称P4)是一款功能强大的版本控制系统,被广泛应用于软件开发、游戏制作等行业。它能够有效地管理和控制源代码及其变更历史,支持...

    p4-perforce repo.pdf

    P4-Perforce 版本工具使用指南 P4-Perforce 是一款版本控制系统,提供了强大的版本管理功能。该工具提供了多种命令供用户使用,涵盖了客户端工作空间、文件管理、变更列表、作业管理、分支和合并、管理等多个方面。...

    p4guide.pdf

    Perforce软件是一种广泛应用于软件版本控制的系统,尤其适合于大型项目和大型团队的协作工作。从提供的文件内容来看,主要涉及了Perforce的相关知识和操作指南,下面将根据文件内容详尽阐述相关的知识点。 首先,...

    perforce 原版学习资源

    Authored by Perforce's own VP of product technology, Practical Perforce is the ideal complement to the existing product manual, focusing less on the 'how" and more on the "why" and "when." The book is...

    P4高级操作

    2. **Perforce Command Line Client**:提供命令行界面,适合高级用户和自动化脚本,可以执行各种SCM操作。 3. **Perforce Visual Client (P4V)**:一个跨平台的图形用户界面(GUI),使得用户能够直观地管理和查看...

    Practical Perforce.chm

    Profile of Autodesk Practical Perforce

    Perforce管理员向导(2008.2)-英文.pdf

    ### Perforce版本控制系统管理员指南(2008.2版) #### 一、Perforce简介与版权信息 Perforce是一款专业级别的版本控制系统,被广泛应用于软件开发、游戏制作及数字内容创作等领域。此文档为Perforce 2008.2版本的...

    Perforce Cheat Sheet

    ### Perforce Cheat Sheet详解 #### 一、Perforce概述 Perforce是一款强大的版本控制系统,广泛应用于软件开发、游戏开发及各种大规模项目的管理之中。本文档旨在提供一个Perforce的使用命令快速指南,涵盖其基本...

    LWP Perforce How to Use

    Introduction to the 2007 online edition of Perl & LWP

    A4 - Perforce Codeline Automation-开源

    "A4 - Perforce Codeline Automation-开源" 这个标题揭示了我们正在讨论一个名为"A4"的项目,它专注于Perforce版本控制系统中的代码行(codeline或branch)自动化管理。"开源"标签表明该项目遵循开放源代码模式,...

Global site tag (gtag.js) - Google Analytics