-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translation #7: 1122 Words Translated #73
Changes from all commits
9675e82
dbcb194
6c87ffa
24dd868
1f4d201
2c5c633
7363948
855c9a4
79567a9
a6a9e83
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
[[_git_config]] | ||
=== Git Configuration | ||
=== Kompigurasyon ng Git | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
(((git commands, config))) | ||
As you read briefly in <<_getting_started#_getting_started>>, you can specify Git configuration settings with the `git config` command. | ||
One of the first things you did was set up your name and email address: | ||
Habang binabasa mo agad sa <<_getting_started#_getting_started>>, matutukoy mo ang Kompigurasyon ng Git sa `git config` na utos. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
Isa sa mga unang bagay na dapat mong gawin ay i-set up ang iyong pangalan at email address: | ||
|
||
[source,console] | ||
---- | ||
$ git config --global user.name "John Doe" | ||
$ git config --global user.email johndoe@example.com | ||
---- | ||
|
||
Now you'll learn a few of the more interesting options that you can set in this manner to customize your Git usage. | ||
Ngayon matututunan mo ang ilan sa mga mas interesanteng mga pagpipilian na maaari mong itakda sa ganitong paraan upang i-customize ang iyong paggamit sa Git. | ||
|
||
First, a quick review: Git uses a series of configuration files to determine non-default behavior that you may want. | ||
The first place Git looks for these values is in the system-wide `/etc/gitconfig` file, which contains settings that are applied to every user on the system and all of their repositories. | ||
If you pass the option `--system` to `git config`, it reads and writes from this file specifically. | ||
Una, isang mabilis na pagsusuri: Gumagamit ang Git ng isang serye ng mga kompigurasyon na file upang matukoy ang non-default behavior na maaaring gusto mo. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
Ang unang titingnan ng Git para sa mga halagang ito ay ang buong sistema ng `/etc/gitconfig` na file, na naglalaman ng mga setting na inilapat sa bawat user sa sistema at lahat ng kanilang mga repositoryo. | ||
Kung dadaanan mo ang `--system` na opsyon sa `git config`, binabasa at sinulat nito mula sa partikular na file na ito. | ||
|
||
The next place Git looks is the `~/.gitconfig` (or `~/.config/git/config`) file, which is specific to each user. | ||
You can make Git read and write to this file by passing the `--global` option. | ||
Ang susunod na lugar na titingnan ng Git ay ang `~/.gitconfig` (o `~/.config/git/config`) na file, kung saan ay tiyak sa bawat gumagamit. | ||
Maaaring gawin ng Git na bumasa at sumulat sa file na ito sa pamamagitan ng pagpapasa ng `--global` na opsyon. | ||
|
||
Finally, Git looks for configuration values in the configuration file in the Git directory (`.git/config`) of whatever repository you're currently using. | ||
These values are specific to that single repository, and represent passing the `--local` option to `git config`. | ||
(If you don't specify which level you want to work with, this is the default.) | ||
Sa katapusan, hinahanap ng Git ang mga value ng konpigurasyon sa konpigurasyon na file sa direktoryo ng Git (`.git/config`) ng anumang repositoryo na kasalukuyang ginagamit mo. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
Ang mga halagang ito ay tiyak sa isang solong repositoryo, at kumakatawan sa pagpasa ng `--local` na opsyon hanggang `git config`. | ||
(Kung hindi mo tukuyin kung aling antas ang gusto mong magtrabaho, ito ang default.) | ||
|
||
Each of these ``levels'' (system, global, local) overwrites values in the previous level, so values in `.git/config` trump those in `/etc/gitconfig`, for instance. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could change
ang Git ay tatakbo sa mga ito sa pamamagitan ng indent na programa bago ito i-stage nila
to something likeIdadaan ng Git ang mga ito sa indent na programa bago ito i-stage