Software Development & Operating Systems

Notes on Software Development & Operating Systems

Version Control

Adding files from a non github project to a newly created github project

One comprehensive way to do this is to create a staging directory for the project files you want to add to your github repository. Then click the [Upload Files] button on your github repository. Now drag and drop the directory structure and files you want into the github ‘Drag files here to add them to [...]

Posted in Git, GitHub, Version Control | Comments Off

Dump or Load to or from a Subversion Repository using svnadmin

Login as or switch user to root: su – Example of using svnadmin dump to create a dump file of an svn repository: svnadmin dump /var/www/svn/repos > /home/peter/svn-repos_20120831-2110.dump Example of using svnadmin to load a repository from a dump file svnadmin load /var/www/svn/repos < 30-svn-repos_20161031-1842.dump

Tags: ,

Posted in Linux, Subversion, Version Control | Comments Off

Install Subversion on CentOS

Follow these steps to install Subversion on CentOS Login as, or switch user to root: su – Install packages: yum install mod_dav_svn subversion Edit the subversion.conf file that was just created for you in the previous step: cd /etc/httpd/conf.d vi subversion.conf LoadModule dav_svn_module modules/ LoadModule authz_svn_module modules/ <Location /svn> DAV svn SVNParentPath /var/www/svn AuthType Basic [...]

Tags: , , ,

Posted in Apache, CentOS, Linux, Subversion, Version Control | Comments Off

Create a branch in Subversion

svn copy https://server/path/to/trunk https://server/path/to/branches/newBranch -m “Cut branch: newBranch”


Posted in Subversion, Version Control | Comments Off