Code Tile management » History » Revision 6
Revision 5 (jun chen, 02/11/2025 11:37 AM) → Revision 6/8 (jun chen, 02/26/2025 09:55 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 setenv P4USER p4nu5 setenv P4PORT 10.210.11.201:1666 setenv P4EDITOR "gvim -f" setenv P4PASSWD efb@nu5 p4 login ``` ### Basic usage ``` p4 client # create a new client p4 sync # to get latest code p4 edit xx.py # add file to edit p4 edit ... # edit all files under current directory 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 ..." ``` 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 ``` --------------------------------------------------- ## Git training and usage