Project

General

Profile

Code Tile management » History » Revision 3

Revision 2 (jun chen, 02/05/2025 04:01 PM) → Revision 3/8 (jun chen, 02/06/2025 10:07 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 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 -c "adf" 
 ``` 


 



 Reference link:    https://conf01.birentech.com/pages/viewpage.action?pageId=6836464 


 Local reference: `docs\new hier\P4_training.pptx` 




 



 --------------------------------------------------- 

 
 ## Git training and usage