Update Vietnamese translations (#318)

This commit is contained in:
Viet Than 2021-06-25 12:29:37 -04:00 committed by GitHub
parent eb36083cbd
commit 7caa59575b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 768 additions and 347 deletions

View File

@ -457,6 +457,7 @@ echo sensitive_file >> .gitignore
Alternatively store your sensitive data in local environment variables. Alternatively store your sensitive data in local environment variables.
If you want to completely remove an entire file (and not keep it locally), then run If you want to completely remove an entire file (and not keep it locally), then run
```sh ```sh
(feature-branch)$ git rm sensitive_file (feature-branch)$ git rm sensitive_file
(feature-branch)$ git commit --amend --no-edit (feature-branch)$ git commit --amend --no-edit
@ -481,14 +482,17 @@ There are two options for rewriting history, the built-in `git-filter-branch` or
Using bfg-repo-cleaner requires java. Download the bfg jar from the link [here](https://rtyley.github.io/bfg-repo-cleaner/). Our examples will use `bfg.jar`, but your download may have a version number, e.g. `bfg-1.13.0.jar`. Using bfg-repo-cleaner requires java. Download the bfg jar from the link [here](https://rtyley.github.io/bfg-repo-cleaner/). Our examples will use `bfg.jar`, but your download may have a version number, e.g. `bfg-1.13.0.jar`.
To delete a specific file. To delete a specific file.
```sh ```sh
(main)$ git rm path/to/filetoremove (main)$ git rm path/to/filetoremove
(main)$ git commit -m "Commit removing filetoremove" (main)$ git commit -m "Commit removing filetoremove"
(main)$ java -jar ~/Downloads/bfg.jar --delete-files filetoremove (main)$ java -jar ~/Downloads/bfg.jar --delete-files filetoremove
``` ```
Note that in bfg you must use the plain file name even if it is in a subdirectory. Note that in bfg you must use the plain file name even if it is in a subdirectory.
You can also delete a file by pattern, e.g.: You can also delete a file by pattern, e.g.:
```sh ```sh
(main)$ git rm *.jpg (main)$ git rm *.jpg
(main)$ git commit -m "Commit removing *.jpg" (main)$ git commit -m "Commit removing *.jpg"
@ -610,7 +614,6 @@ If you already know you don't want to change the commit message, you can tell gi
(my-branch*)$ git commit --amend -C HEAD (my-branch*)$ git commit --amend -C HEAD
``` ```
<a name="commit-partial-new-file"></a> <a name="commit-partial-new-file"></a>
### I want to stage part of a new file, but not the whole file ### I want to stage part of a new file, but not the whole file
@ -991,6 +994,7 @@ And finally, let's cherry-pick the commit for bug #14:
<a name="delete-stale-local-branches"></a> <a name="delete-stale-local-branches"></a>
### I want to delete local branches that were deleted upstream ### I want to delete local branches that were deleted upstream
Once you merge a pull request on GitHub, it gives you the option to delete the merged branch in your fork. If you aren't planning to keep working on the branch, it's cleaner to delete the local copies of the branch so you don't end up cluttering up your working checkout with a lot of stale branches. Once you merge a pull request on GitHub, it gives you the option to delete the merged branch in your fork. If you aren't planning to keep working on the branch, it's cleaner to delete the local copies of the branch so you don't end up cluttering up your working checkout with a lot of stale branches.
```sh ```sh
@ -1116,11 +1120,12 @@ To rename a different (local) branch:
```sh ```sh
(main)$ git branch -m old-name new-name (main)$ git branch -m old-name new-name
``` ```
To delete the `old-name` remote branch and push the `new-name` local branch:
```sh To delete the `old-name` remote branch and push the `new-name` local branch:
(main)$ git push origin :old_name new_name
``` ```sh
(main)$ git push origin :old_name new_name
```
<a name="i-want-to-checkout-to-a-remote-branch-that-someone-else-is-working-on"></a> <a name="i-want-to-checkout-to-a-remote-branch-that-someone-else-is-working-on"></a>
### I want to checkout to a remote branch that someone else is working on ### I want to checkout to a remote branch that someone else is working on
@ -1892,6 +1897,7 @@ $ git config --global credential.helper cache
$ git config --global credential.helper 'cache --timeout=3600' $ git config --global credential.helper 'cache --timeout=3600'
# Set the cache to timeout after 1 hour (setting is in seconds) # Set the cache to timeout after 1 hour (setting is in seconds)
``` ```
To find a credential helper: To find a credential helper:
```sh ```sh

File diff suppressed because it is too large Load Diff