3
3
< head >
4
4
< meta charset ="utf-8 ">
5
5
< meta http-equiv ="X-UA-Compatible " content ="IE=edge,chrome=1 ">
6
- < title > git - the simple guide - no deep shit! </ title >
6
+ < title > git - hướng dẫn đơn giản </ title >
7
7
< link href ='http://fonts.googleapis.com/css?family=Chelsea+Market ' rel ='stylesheet ' type ='text/css '>
8
8
< link rel ="stylesheet " href ="css/normalize.css " type ="text/css ">
9
9
< link rel ="stylesheet " href ="css/style.css " type ="text/css ">
@@ -49,7 +49,7 @@ <h1>Sổ tay Git</h1>
49
49
< a href ="index.ko.html "> 한국어</ a >
50
50
< a href ="index.vi.html "> Vietnamese</ a >
51
51
< br />
52
- please report issues on < a href ="https://github.com/hnq90/git-guide/issues "> github</ a >
52
+ vui lòng báo cáo vấn đề trên < a href ="https://github.com/hnq90/git-guide/issues "> github</ a >
53
53
</ p >
54
54
< div class ="announcement ">
55
55
< a href ="http://frontify.com/?utm_source=gitguide&utm_campaign=founder_frontify ">
@@ -92,46 +92,46 @@ <h2>Sao chép một repository</h2>
92
92
</ div >
93
93
< a name ="trees "> </ a >
94
94
< div class ="scrollblock block-trees ">
95
- < h2 > workflow </ h2 >
95
+ < h2 > quy trình làm việc </ h2 >
96
96
< p >
97
- your local repository consists of three "trees" maintained by git.
98
- the first one is your < code > Working Directory</ code > which holds the actual files .
99
- the second one is the < code > Index</ code > which acts as a staging area and
100
- finally the < code > HEAD</ code > which points to the last commit you've made .
97
+ thư mục cục bộ của bạn bao gồm ba "trees" được duy trì bởi git.
98
+ cái đầu tiên là < code > Thư Mục Đang Làm Việc ( Working Directory) </ code > có chứa các tập tin hiện tại .
99
+ cái thứ hai là < code > Chỉ Mục ( Index) </ code > đóng vai trò như staging area và
100
+ cuối cùng là < code > HEAD</ code > trỏ đến commit gần đây nhất của bạn .
101
101
</ p >
102
102
< img src ="img/trees.png " alt ="" />
103
103
</ div >
104
104
< a name ="add "> </ a >
105
105
< div class ="scrollblock block-add ">
106
- < h2 > add & commit</ h2 >
106
+ < h2 > thêm & commit</ h2 >
107
107
< p >
108
- You can propose changes (add it to the < b > Index</ b > ) using < br />
109
- < code > git add <filename ></ code > < br />
108
+ Bạn có thể đề xuất thay đổi (thêm nó vào chi mục < b > Index</ b > ) bằng cách < br />
109
+ < code > git add <tên-tập-tin ></ code > < br />
110
110
< code > git add *</ code > < br />
111
- This is the first step in the basic git workflow. To actually commit these changes use < br />
112
- < code > git commit -m "Commit message "</ code > < br />
113
- Now the file is committed to the < b > HEAD</ b > , but not in your remote repository yet .
111
+ Đây là bước đầu tiên trong quy trình git cơ bản. Để thật sự commit những thay đổi, bạn sử dụng < br />
112
+ < code > git commit -m "Ghi chú Commit "</ code > < br />
113
+ Bây giờ thì tập tin đả được commit đến < b > HEAD</ b > , nhưng chưa phải trên thư mục remote .
114
114
</ p >
115
115
</ div >
116
116
< a name ="push "> </ a >
117
117
< div class ="scrollblock block-remote ">
118
- < h2 > pushing changes </ h2 >
118
+ < h2 > đẩy các thay đổi </ h2 >
119
119
< p >
120
- Your changes are now in the < b > HEAD</ b > of your local working copy. To send those changes to your remote repository, execute < br />
120
+ Thay đổi của bạn hiện đang nằm tại < b > HEAD</ b > của bản sao cục bộ đang làm việc. Để gửi những thay đổi đó đến repository remote, bạn thực thi < br />
121
121
< code > git push origin master</ code > < br />
122
- Change < i > master</ i > to whatever branch you want to push your changes to .
122
+ Thay đổi < i > master</ i > bằng bất cứ nhánh nào mà bạn muốn đầy những thay đổi đến .
123
123
< br /> < br />
124
- If you have not cloned an existing repository and want to connect your repository to a remote server, you need to add it with < br />
124
+ Nếu bạn chưa clone một repository hiện có và muốn kết nối repository của bạn đến máy chủ remote, bạn phải thêm nó với < br />
125
125
< code > git remote add origin <server></ code > < br />
126
- Now you are able to push your changes to the selected remote server < br />
126
+ Bây giờ bạn đã có thể đẩy các thay đổi của mình vào máy chủ đã chọn < br />
127
127
128
128
</ p >
129
129
</ div >
130
130
< a name ="branching "> </ a >
131
131
< div class ="scrollblock block-branching ">
132
- < h2 > branching </ h2 >
132
+ < h2 > nhánh </ h2 >
133
133
< p >
134
- Branches are used to develop features isolated from each other. The < i > master</ i > branch is the "default" branch when you create a repository. Use other branches for development and merge them back to the master branch upon completion .
134
+ Các nhánh (branches)được dùng để phát triển tính năng tách riêng ra từ những nhánh khác. Nhánh < i > master</ i > là nhánh "mặc định" khi bạn tạo một repository. Sử dụng các nhánh khác tri đang trong giai đoạn phát triển và merge trở lại nhánh master một khi đã hoàn tất .
135
135
</ p >
136
136
< img src ="img/branches.png " alt ="" />
137
137
< p >
@@ -214,7 +214,7 @@ <h3>graphical clients</h3>
214
214
< li > < a href ="https://itunes.apple.com/gb/app/gitbox/id403388357?mt=12 "> GitBox (OSX, App Store)</ a > </ li >
215
215
</ ul >
216
216
</ p >
217
- < h3 > guides </ h3 >
217
+ < h3 > hướng dẫn </ h3 >
218
218
< p >
219
219
< ul >
220
220
< li > < a href ="http://book.git-scm.com/ "> Git Community Book</ a > </ li >
@@ -227,7 +227,7 @@ <h3>guides</h3>
227
227
</ div >
228
228
< a name ="comments "> </ a >
229
229
< div class ="scrollblock block-comments ">
230
- < h2 > comments </ h2 >
230
+ < h2 > bình luận </ h2 >
231
231
< div id ="disqus_thread "> </ div >
232
232
< script type ="text/javascript ">
233
233
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
0 commit comments