diff options
author | Vinicius Kursancew <viniciusalexandre@gmail.com> | 2016-11-28 09:33:18 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-11-29 10:59:01 -0800 |
commit | b34fa5777d84abf123cd6b306e2a9a02dac4fc86 (patch) | |
tree | 5da52cec7deee2313cd0e512d2e9bcf7cbcdaf47 /Documentation/git-p4.txt | |
parent | Git 2.10.2 (diff) | |
download | tgif-b34fa5777d84abf123cd6b306e2a9a02dac4fc86.tar.xz |
git-p4: allow submit to create shelved changelists.
Add a --shelve command line argument which invokes p4 shelve instead
of submitting changes. After shelving the changes are reverted from the
p4 workspace.
Signed-off-by: Vinicius Kursancew <viniciusalexandre@gmail.com>
Reviewed-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-p4.txt')
-rw-r--r-- | Documentation/git-p4.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-p4.txt b/Documentation/git-p4.txt index c83aaf39c3..1bbf43d157 100644 --- a/Documentation/git-p4.txt +++ b/Documentation/git-p4.txt @@ -303,6 +303,11 @@ These options can be used to modify 'git p4 submit' behavior. submit manually or revert. This option always stops after the first (oldest) commit. Git tags are not exported to p4. +--shelve:: + Instead of submitting create a series of shelved changelists. + After creating each shelve, the relevant files are reverted/deleted. + If you have multiple commits pending multiple shelves will be created. + --conflict=(ask|skip|quit):: Conflicts can occur when applying a commit to p4. When this happens, the default behavior ("ask") is to prompt whether to |