We have learned about Spring Cloud Config before:
Consul configuration center of Spring Cloud series (I)
Consul configuration center of Spring Cloud series (2)
Consul configuration center of Spring Cloud series (3)
It provides the function of configuration center, but it needs to cooperate with git, svn or external storage (such as various da ...
Added by synergypoint on Mon, 18 May 2020 09:51:39 +0300
How to display (at least) git log output of this information:
* commit date
I want each log entry to be compressed to one row. What is the shortest format?
(tried -- format=oneline but did not show date)
git log --pretty=format:"%H %an %ad"
Use -- date = to format the date
git log --pretty=format:" ...
Added by GrizzlyBear on Sat, 08 Feb 2020 19:01:11 +0200
Shell> yum install svn -y
Prepare configuration and warehouse
Shell> mkdir -p /mydata/repo
Shell> cd /mydata/repo/
Shell> svnadmin create erp #Create a code base, here take erp as an example
The configuration file of the code ba ...
Added by bdee1 on Mon, 20 Jan 2020 09:33:04 +0200
SVN project backup
Use the svnadmin tool to export locally.
svnadmin dump H:\Repositories\test > F:\svn_dump\test.dump
svnadmin dump H:\Repositories\android > F:\svn_dump\android.dump
svnadmin dump H:\Repositories\BackEnd > F:\svn_dump\BackEnd.dump
svnadmin dump H:\Repositories\DevOps> F:\svn_dump\DevOps.dump
Added by mndwn on Mon, 02 Dec 2019 07:20:25 +0200
Confirm OS version:
[root@bogon ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
[root@bogon ~]# yum -y install httpd mod_dav_svn subversion
[root@bogon ~]# rpm -qa | egrep "httpd|mod_dav_svn|subversion"
Added by xeirus on Mon, 30 Sep 2019 23:31:42 +0300
Today, the svn version control service is deployed in the Ubuntu environment.
1. Download and Install
# apt-get install subversion
2. Creating directories
# mkdir /home/svn
# mkdir /home/svn/repository
# chmod -R 777 /home/svn/repository
3. Creating warehouses
# svnadmin create /home/svn/repository
View the repository directory:
# cd /home/svn/ ...
Added by ident on Mon, 02 Sep 2019 19:11:06 +0300
A version control software commonly used in development is SVN. Sometimes the content of a version controller needs to be backed up/restored or migrated. Although it is rarely used, once used, the knowledge should be mastered.
Environment: CentOS 6.6
There are three ways to backup and restore svn, the first two are highlighted here:
Added by abriggs on Fri, 14 Jun 2019 20:49:06 +0300