git basic commands
List differences between versions of a file Differences in content between the working directory and the staging area: $ git diff Differences in content between the last commit and the…
subversion basic commands
Create a repository in /home/svn $ svnadmin create --fs-type fsfs /home/svn Import an existing project located in /soft/project into the newly created repository $ svn import /soft/project/ file:///home/svn/project/trunk -m 'Initial…
git: create a remote repository
If you have a local repository and want to create your own remote git repository as a backup (or share your work with others, here's what you need to do:…
git configuration files
There are three levels of configuration in git: System Values defined at this level will apply to all users. The values are stored in /etc/gitconfig Global Values defined at the…
git: clone a repository without the project folder
When you clone a remote repository, a folder with the name of the project is created in your local working directory and then the contents of the repository is copied…