The most commonly used git command in work

Git instruction 1. Initialize warehouse git init 2. Clone a project code git clone [url] 3. Create a new branch and switch to it git checkout -b [branch] When handling a bug, you can first create a branch, then add - commit - merge, and finally delete the branch Picture Description: $ git checkout -b iss53 Switched to a new bra ...

Posted by watson516 on Mon, 03 Jan 2022 04:30:36 +0100

Playing with git, developers must know and operate GIT

preface I only sent this article because I came to write a simple operation about git at the invitation of my friends yesterday. Friends used svn as version control before. Now the company uses git as version tool. Due to time problems, I will simply sort out the GIT commands commonly used in work to facilitate friends to attribute git c ...

Posted by sgalatas on Sun, 02 Jan 2022 06:39:39 +0100

Git common operation summary

The summary of common operations in GIT learning process is convenient for query when forgetting User name and mail global configuration git config --global user.name "user name" git config --global user.email "User mailbox" git config --global -l //View the above configuration The first thing after installing gi ...

Posted by FunkyELF on Fri, 31 Dec 2021 08:24:32 +0100

GIT easy tutorial

catalogue Differences with svn git easy tutorial New warehouse configuration file Code management Status view Code submission Version selection File deletion and recovery File comparison Branch Management appendix Modification of configuration file vim common commands Differences with svn svn: centralized version control system ...

Posted by wompgx on Wed, 29 Dec 2021 09:03:20 +0100

DevOps actual combat (Docker+Jenkins+Git)

CI/CD actual combat based on Docker+Jenkins+Git Same as the previous essay: Research on CI process based on Jenkins+Docker+Git Different, this content is more inclined to the basic requirements of the actual business. There are several points to note: The actual combat does not involve the image warehouse, so the image push phase is omitted, w ...

Posted by evolve4 on Mon, 27 Dec 2021 01:53:12 +0100

git instruction usage

git installation - Windows Based (1) Download the installer directly from Git's official website, and then install it according to the default option. After installation, find "Git" - > "Git Bash" in the start menu, and something similar to the command line window pops up, which indicates that Git installation is succes ...

Posted by vishi83 on Fri, 24 Dec 2021 23:10:06 +0100

Git series, GIT branch management

1, What is a branch? Almost every version control system supports branching in some form. Using branches means that you can separate from the development main line and continue to work without affecting the main line. Some people call git's branching model a must kill feature. It is precisely because of it that Git is distinguished from th ...

Posted by mutedgirl on Fri, 24 Dec 2021 20:55:26 +0100

GitLab server integrates CheckStyle to realize automatic code review

1. General For Git, static code detection through Hook can be divided into two directions: 1> With the help of client side hook. This method corresponds to ${project_root} / Git / hooks / pre commit script implementation. 2> With the help of server side hook. This method is divided into two aspects: global configuration (described in ...

Posted by falcon8253 on Fri, 24 Dec 2021 18:24:48 +0100

Git permanently deletes files and history

Git permanently deletes files and history You may want to permanently delete files and history from the git Repository: You accidentally add a file that should not be added to version management, sensitive data or large files or other useless files;You accidentally add an article related to cracking a famous software into GitHub warehouse. At ...

Posted by l_kris06 on Wed, 22 Dec 2021 09:29:59 +0100

[Skynet] Skynet introduction example

1, Download and edit CentOS7.7. Install corresponding software: yum install git #git for downloading source code yum install gcc #For compiling source code yun install autoconf #For compiling source code yum install readline-devel #It will be used to compile Lua Download skynet source code: git clone https://github.com/cloudwu/skyne ...

Posted by nareshrevoori on Tue, 21 Dec 2021 11:43:45 +0100