Code Tile management » History » Revision 4
Revision 3 (jun chen, 02/06/2025 10:07 AM) → Revision 4/8 (jun chen, 02/06/2025 10:14 AM)
# Code Tile management ------------------------------------------------------- ## P4 training and usage ### ENV setting ``` setenv P4DIFF /usr/local/bin/tkdiff setenv P4MERGE /depot/p4_utilities/p4filemerge setenv P4MERGE /depot/p4_utilities/p4ctmerge ``` ### Basic usage ``` p4 client # create a new client p4 sync # to get latest code p4 edit xx.py # add file to edit p4 add xx.py # to add new file p4 delete xxx # to delete file p4 opened # check opened file p4 diff # check difference p4 revert p4 submit -d "submitted by ..." -c "adf" ``` Reference link: https://conf01.birentech.com/pages/viewpage.action?pageId=6836464 Local reference: ``` docs\jojofile\Perforce基本操作培训.pptx docs\jojofile\SHG_Perforce基本操作培训.pptx docs\new hier\P4_training.pptx ``` `docs\new hier\P4_training.pptx` --------------------------------------------------- ## Git training and usage