Skip to content

Instantly share code, notes, and snippets.

@masaeedu
Last active February 8, 2017 19:01
Show Gist options
  • Save masaeedu/60eef112e584842255b315bb23e68c47 to your computer and use it in GitHub Desktop.
Save masaeedu/60eef112e584842255b315bb23e68c47 to your computer and use it in GitHub Desktop.
Useful P4 commands
# Equivalent to git reset (without discarding workspace changes)
p4 revert -k //...
# More conservative revert of only current dir
p4 revert -k *
# Fast reconcile using timestamps
p4 reconcile -m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment