remove non ascii whitespaces
This commit is contained in:
parent
598a10bc28
commit
5a6d6c4d13
117 changed files with 1928 additions and 1928 deletions
technology/dev
|
@ -20,7 +20,7 @@ git config --global user.email "johndoe@example.com"
|
|||
```
|
||||
|
||||
## Usage
|
||||
A Git repository is contained in a `.git` directory, which holds the revision history and other metadata. The directory tracked by the repository, by default the parent directory, is called the working directory. Changes in the working tree need to be staged before they can be recorded (committed) to the repository. Git also lets you restore, previously committed, working tree files.
|
||||
A Git repository is contained in a `.git` directory, which holds the revision history and other metadata. The directory tracked by the repository, by default the parent directory, is called the working directory. Changes in the working tree need to be staged before they can be recorded (committed) to the repository. Git also lets you restore, previously committed, working tree files.
|
||||
|
||||
### Git repository
|
||||
Initialize a repository
|
||||
|
@ -32,7 +32,7 @@ git init -b main
|
|||
|
||||
Clone an existing repository
|
||||
```shell
|
||||
git clone repository
|
||||
git clone repository
|
||||
git clone repository folder
|
||||
git clone --recursive repository
|
||||
git clone --bare repository
|
||||
|
@ -125,7 +125,7 @@ git checkout master
|
|||
git merge branch
|
||||
```
|
||||
|
||||
The changes will be merged if they do not conflict. Otherwise, Git will print an error message, and annotate files in the working tree to record the conflicts. The annotations can be displayed with `git diff`. Conflicts are resolved by editing the files to remove the annotations, and committing the final version.
|
||||
The changes will be merged if they do not conflict. Otherwise, Git will print an error message, and annotate files in the working tree to record the conflicts. The annotations can be displayed with `git diff`. Conflicts are resolved by editing the files to remove the annotations, and committing the final version.
|
||||
|
||||
Any conflicts will look something like this:
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue