Skip to content

Commit c3c3bd6

Browse files
authored
Merge pull request #12 from hjavadish/master
Update 1-git-branching.asc
2 parents 6d20b63 + ccf9eca commit c3c3bd6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

book/03-git-branching/1-git-branching.asc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[[_git_branching]]
2-
== Git Branching
2+
== شاخه سازی در گیت
33

44
(((branches)))
5-
Nearly every VCS has some form of branching support.
6-
Branching means you diverge from the main line of development and continue to do work without messing with that main line.
7-
In many VCS tools, this is a somewhat expensive process, often requiring you to create a new copy of your source code directory, which can take a long time for large projects.
8-
9-
Some people refer to Git's branching model as its ``killer feature,'' and it certainly sets Git apart in the VCS community.
10-
Why is it so special?
11-
The way Git branches is incredibly lightweight, making branching operations nearly instantaneous, and switching back and forth between branches generally just as fast.
12-
Unlike many other VCSs, Git encourages workflows that branch and merge often, even multiple times in a day.
13-
Understanding and mastering this feature gives you a powerful and unique tool and can entirely change the way that you develop.
5+
تقریبا همه ی VCS ها به شکلی شاخه سازی را دارند.
6+
شاخه سازی به معنی انشعاب از خط اصلی توسعه و ادامه ی کار در مسیر دیگر بدون از دست دادن خط اصلی است.
7+
در بسیاری از VCS ها این کار تا اندازه ای یک فرآیند پر هزینه است. اغلب نیاز به رونوشت گیری از کل پوشه ی فایلهایست که این کا در پروژه های بزرگ زمان زیادی می گیرد.
8+
9+
برخی، مدل شاخه سازی گیت را یک "ویژگی منحصر به فرد" میدانند و به راستی این ویژگی، برجسته شدن گیت در جوامع VCS را در پی داشته است.
10+
چرا این ویژگی چنین برجسته است؟
11+
روش شاخه سازی در گیت بسیار چست و چابک است. عملیات مربوط به شاخه سازی تقریبا آنی و بی درنگ است. انتقال بین شاخه ها و پیش روی در شاخه و برگشت به شاخه ی قبل، معمولا به همان اندازه بسیار سریع است.
12+
بر خلاف دیگر VCSها، گیت جریان هایی از کار که شاخه سازی و ادغام در آن است را بسیار پیشنهاد میدهد و به آن ترغیب می کند. حتی چند بار شاخه سازی و ادغام در روز.
13+
فهم درست و مهار کافی در این ویژگی، به شما ابزار بسیار قدرمتد و یکتایی را می دهد که با آن می توانید شیوه توسعه و کد نویسیتان را به کلی تغییر دهید.
1414

1515
include::sections/nutshell.asc[]
1616

0 commit comments

Comments
 (0)