Use Git hook to automatically change the submission time of the last Commit
Demand background
Sometimes you want to submit the commit information according to the regular time. For example, Virgo may want the time of each commit to be an integer time. For example, if the local time is inaccurate, you want to submit it according to the network time 1 There are other reasons..
However, Git submits the commit informatio ...
Posted by jfgreco915 on Wed, 23 Feb 2022 13:33:22 +0100
Advanced application of spring MVC -- transform the handwritten spring MVC into a real spring MVC
Source code (code cloud): https://gitee.com/yin_zhipeng/implement-_springmvc_of_myself.git
1, Handwritten spring MVC
For length reasons, I put it in this article https://blog.csdn.net/grd_java/article/details/123000127
2, Spring MVC advanced application
Spring MVC
Encapsulate the servlet and simplify the framework of servlet developmen ...
Posted by MilesWilson on Sun, 20 Feb 2022 19:02:24 +0100
git common commands
git common commands
git is a distributed version control system
git features
version control Multi person collaboration
Create SSH Key
$ ssh-keygen -t rsa -C "youremail@example.com"
Configure user information
$ git config --global user.name "Your Name"
$ git config --global user.email "email@example.com"
## Check the ...
Posted by travelkind on Sun, 20 Feb 2022 07:07:27 +0100
git common commands
The course recommended by Wu Haiyang of wanmen university is very clear. The content of this blog is basically the content of the course. 1, Environment configuration git configuration
// Configure user name and mailbox
git config --global user.name "yourname"
git config --global user.email "your@email"
//View profile
git config --list
//View ...
Posted by bobby317 on Fri, 18 Feb 2022 22:05:22 +0100
Git --- version control (code management) system
Git version control (code management) system
1, Deploy Git
1. Basic environment
yum install git
yum install dh-autoreconf curl-devel expat-devel gettext-devel openssl-devel perl-devel zlib-devel
yum install asciidoc xmlto docbook2X
Unzip, compile and install
tar -xf git-2.9.5.tar.xz -C /usr/local
cd /usr/locat/git-2.9.5
make &am ...
Posted by rhyspaterson on Fri, 18 Feb 2022 21:35:05 +0100
[learn and forget] git principle - 15. Git object [blob object]
Git is a content addressed file system. What do you mean?
The core of Git is a simple key value data store. You can insert any type of content into the database and return a key value, which can be retrieved at any time.
(1) Directory where Git objects are stored
All objects in Git are stored in the local version library Objects in the / ...
Posted by stevenm on Fri, 18 Feb 2022 13:59:15 +0100
Add existing source code into repo management
Add existing source code into repo management
Applicable to the source code of non source code management (git/repo) in large projects
preface
When the company is developing some projects, the code given from the supplier's original factory does not contain any source code management files. Many people need to cooperate in the developmen ...
Posted by ernielou on Fri, 18 Feb 2022 12:05:46 +0100
[learn and forget] git principle - 16. Git object [Tree object]
1. Tree object introduction
The Git object type to be discussed next is tree object, which can solve the problem of saving file names. Tree objects can store file names and also allow us to organize multiple files together.
Git stores content in a way similar to the UNIX file system, but with some simplification. All contents are stored i ...
Posted by tdeez173 on Fri, 18 Feb 2022 01:29:23 +0100
Introduction and use of GitLab
1 Introduction to gitlab
GitLab is developed by GitLab Inc Develop and use MIT licensed web-based Git warehouse management tool with wiki and issue tracking functions. Use Git as a code management tool, and build a LAN based web service on this basis. GitLab was developed by Ukrainian programmers Dmitry zaporozhets and Valery Sizov. It is ...
Posted by aviavi on Fri, 11 Feb 2022 20:08:01 +0100
Git common errors and Solutions
Git errors and Solutions
2021/12/23
Step 1: set up Git warehouse git init (only used once when building a warehouse) cd to your local project root directory and execute git command. This command will create one in the current directory Git folder. Step 2: add all files of the project to the warehouse git add . This command will add all file ...
Posted by s.prema@yahoo.com on Thu, 10 Feb 2022 20:24:22 +0100