menu

Wednesday 16 November 2016

basic commad of svn

find . -type d -name .svn -print0 | xargs -0 rm -rf          /* remove the svn folder from project */

svn co http://192.168.4.10/project_path     /* svn checkout */

svn ci -m 'commit'            /* commit the project */

svn up            /* update fron svn  */

svn st            /* check file in the project project which are not committed */

svn add *       /* add new file */

svn ci -m 'commit'            /* commit the project */

svn ci -m 'ciommit' folder_name/filename.php /* commit folder and file */

vim filename.php               /* for open file in online server */

i                        /* inset for online */

:wq!                   /* save and exit from file */
:q!          /* without save exit */

svn mkdir folder_name    /* Create folder name */

chmod -R 777 folder_name/       /* change folder permision */

mysql -u username -p database_name < file_name.sql    /* import database in mysql */

No comments:

Post a Comment