Editing
Perforce Cookbook
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== View files in a changelist using changelist number == '''Changelist''' > '''Describe Changelist...''' > ''enter changelist number in dialog'' == Syncing a repo from the command line == [http://www.perforce.com/perforce/perforce/doc.current/manuals/cmdref/p4_sync.html|Perforce 2014.1 Command Reference: Sync] At the command prompt make sure you're at the root of the client repo. <syntaxhighlight lang="powershell"> p4 -H beckster -p 1666 -u ali -c web-damien sync </syntaxhighlight> * `-H` Host * `-p` Port (1666 is the default) * `-u` User * `-c` client == Perforce configuration files == * [http://www.perforce.com/perforce/doc.current/manuals/p4guide/chapter.configuration.html#DB5-24024 Configuring Perforce Settings] (Perforce Documentation) * Set the `P4CONFIG` environment variable to the name of the local configuration file, e.g. ".p4config". * Create the `".p4config"` file in the local repo. * Each setting in the file must be specified on its own line, using the format `setting=value`. Example: <syntaxhighlight lang="text"> P4PORT=tcp:beckster:1666 P4USER=ali P4CLIENT=web-damien </syntaxhighlight> [[Category:Perforce]] [[Category:Version Control]] [[Category:Web Development]]
Summary:
Please note that all contributions to Littledamien Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Littledamien Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information