Will Git be pulled when local changes are ignored?

Is there any way to make a git pull to ignore any local file changes without wasting directories or executing git clone? #1 building If you are using Linux: git fetch for file in `git diff origin/master..HEAD --name-only`; do rm -f "$file"; done git pull The for loop removes all trace files that have changed in the local repository, ...

Posted on Tue, 28 Jan 2020 06:53:16 -0800 by dnamroud

Linux 2.6.9 kernel source code analysis -- eventpoll

Linux 2.6.9 kernel source code analysis - eventpoll eventpoll epoll is divided into three system calls: long sys_epoll_create(int size); long sys_epoll_ctl(int epfd, int op, int fd, struct epoll_event __user *event); long sys_epoll_wait(int epfd, struct epoll_event __user *events, int maxevents, int ti ...

Posted on Mon, 27 Jan 2020 07:00:29 -0800 by nikky_d16

ComblockEngine Source Analysis 2 - Object Pool and its BUG Existing

Article Directory Say something first What is an object pool Object pool in CBE Hidden BUG BUG Validation BUG Repair Say something first Writing the first CBE Source Blog: Role Account Login and Management When I noticed that the CBE was full of objects such as _g_objPool, it was obvious that it ...

Posted on Sun, 26 Jan 2020 19:48:32 -0800 by vickie

Basic framework, key data structure and interface of libmodbus source code analysis

In previous articles: libmodbus protocol stack 1: detailed migration steps (configuration, generation) under Linux libmodbus protocol stack 2: development case of modbus RTU master under Linux libmodbus protocol stack 3 -- development case of modbus RTU slave under Linux libmodbus protocol stack ...

Posted on Sun, 26 Jan 2020 01:59:35 -0800 by Stickdragon

Deploy lvs-dr + preserved cluster

LVS-DR mode DR mode - Direct Routing DR mode is short for short. It adopts semi open network structure, similar to TUN mode, but each node is not scattered around, but is located in the same physical network with the scheduler The load scheduler is connected with each node server through the local ne ...

Posted on Tue, 21 Jan 2020 09:14:23 -0800 by janey

Implementing RSA 2 encryption in PHP

Because Alipay APP payment needs to encrypt the order information with the payment key, it needs a completed encryption interface. There will be some under the whole code, but there are a few points to pay attention to before the code. First of all, the php extension openssl needs to be turned on. ...

Posted on Mon, 20 Jan 2020 21:01:44 -0800 by alex.hughson

Physical Machine Installation minikube

Kubernetes (k8s) is an open source platform for automating container operations, based on which you can perform container deployment, resource scheduling, cluster expansion, and so on.If you've used the Docker deployment container before, you can think of the Docker as a component used at the bottom of Kubernetes, which is an upper-level encap ...

Posted on Mon, 20 Jan 2020 11:00:12 -0800 by jowatkins

openstack (queens) multi node manual installation: installation of control node and compute node neutron components

Overview of neutron components Neutron core components provide users with the function of defining network in the cloud platform. It is responsible for managing virtual network components, including Networks, Switches, Subnets and Routers, and also provides some advanced network services, such as Load ...

Posted on Mon, 20 Jan 2020 08:37:39 -0800 by Wayne Herbert

MySQL: MySQL installation under Linux

If you have any problems, please correct them. Thank you very much! MySQL installation steps under Linux 1. Download the installation package 2. Inspection before installation 3. Formal installation 4. Installation problems and Solutions 5. reference 1. Download the installation package Download ...

Posted on Sun, 19 Jan 2020 21:11:58 -0800 by fuzzy1

KVM virtualization Foundation

About virtualization What is virtualization In computer technology, Virtualization (Technology) or Virtualization (English: virtualization) is a kind of resource management technology, which abstracts and transforms various physical resources (CPU, memory, disk space, network adapter, etc.) of a computer and presents them for partition and co ...

Posted on Sun, 19 Jan 2020 18:42:53 -0800 by sneha1234