Minimum output of git log with author and date
How to display (at least) git log output of this information:
* author
* commit date
* change
I want each log entry to be compressed to one row. What is the shortest format?
(tried -- format=oneline but did not show date)
#1 building
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
Centos7 configures SVN server
Environmental Science
Centos 7
SVN 1.7
Install SVN
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 installation and Windows environment SVN migration to Linux
SVN project backup
Use the svnadmin tool to export locally.
cd H:\Repositories
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
sv ...
Added by mndwn on Mon, 02 Dec 2019 07:20:25 +0200
Deployment of svn disaster preparedness test server
Confirm OS version:
[root@bogon ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
yum installation:
[root@bogon ~]# yum -y install httpd mod_dav_svn subversion
Installation verification:
[root@bogon ~]# rpm -qa | egrep "httpd|mod_dav_svn|subversion"
httpd-tools-2.4.6-89.el7.centos.1.x86_64
httpd-2.4.6-89.el7.centos.1.x86_64
subv ...
Added by xeirus on Mon, 30 Sep 2019 23:31:42 +0300
Install SVN Version Control Service under Ubuntu
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
Backup and restore of SVN (subversion)
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:
Offici ...
Added by abriggs on Fri, 14 Jun 2019 20:49:06 +0300