git commit --amend
This command will commit the files in the staging area. If you haven't made any changes since the last commit (for example, if you executed this command immediately after the last commit), the snapshot will remain the same, and all you have modified is the commit message.
git checkout -- CONTRIBUTING.md
Git branch Unlike other version control systems, Git difference is not saved the file, but rather a snapshot of the file at a time. Git commit objects in a submission is created, th...
Local agreements The advantages of file-based repository is its simplicity, while retaining the permissions and network access existing files. If you already have a team of allShared file systemTo est...
Git basic commands git init After executing this command, a .git hidden file will be created in the current directory. This file contains all the files to initialize the Git re...
There are two ways: The first is when you have not submitted to the staging area, that is, when you have not yet git add, undo the modification and return to the latest version. The second is when you...
1、 git checkout -- file Discard the modification of the workspace commandgit checkout -- readme.txtMeans, putreadme.txtAll modifications of files in the workspace are undone. There are two s...
1.View modify staging and non-staging of in case git statusOutput of the command is too vague for you, you want to know what the specific changes, you can usegit diffCommand. Later, we will detailgit ...
A remote reference is a reference (pointer) to a remote repository, including branches, tags, and so on. You can get a full list of remote references explicitly via git ls-remote (remote) or get more ...
Configuration before running Git for the first time Git configuration is done via git config and has three levels: | Parameters | File Path | Description | |-|-| | --system | /etc/gitconfig | Global |...
Git branch Almost every version control systems support branch in some form. Means you can use a branch separated from the main line of development and continue to work without affecting the main line...
The essence of data mining: classification, prediction, recommendation 【Characteristics】 [Data] Pretreatment 【classification】 =============================== 【classification】 First, supervised learnin...