You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/02-git-basics/sections/remotes.asc
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,26 @@
1
1
[[_remote_repos]]
2
2
=== Working with Remotes
3
3
4
-
To be able to collaborate on any Git project, you need to know how to manage your remote repositories.
5
-
Remote repositories are versions of your project that are hosted on the Internet or network somewhere.
6
-
You can have several of them, each of which generally is either read-only or read/write for you.
7
-
Collaborating with others involves managing these remote repositories and pushing and pulling data to and from them when you need to share work.
8
-
Managing remote repositories includes knowing how to add remote repositories, remove remotes that are no longer valid, manage various remote branches and define them as being tracked or not, and more.
9
-
In this section, we'll cover some of these remote-management skills.
4
+
برای همکاری در پروژه های گیت، دانستن شیوه ی مدیریت مخارن راه دور لازم است.
5
+
مخازن راه دور یک نسخه از پروژه ی شما هستند که در اینترنت یا جایی دیگر در شبکه قرار دارند.
6
+
می توانید جند تا از آنها را داشته باشید که هرکدام فقط خواندی یا با اجزاه خواندن و نوشتن باشد.
7
+
همکاری با دیگران شما را با مدیریت این مخازن و دریافت داده از آنها و انتقال داده به آنها درگیر می کند. که بتوانید کارهایتان را به اشتراک بگزارید.
8
+
مدیریت مخازن راه دور به مفهوم افزودن مخازن راه دور، حذف کردن مخازن به کار نخور، مدیریت شاخه های گوناگون و تعریف آنها به عنوان دنبال شونده با بر داشتن این تعریف و کارهای دیگر است.
9
+
در این بخش، ما به برخی از این وهارتهای مدریت مخازن راه دور خواهیم پرداخت.پ
10
10
11
11
[NOTE]
12
-
.Remote repositories can be on your local machine.
12
+
.مخازن راه دور می توانند روی کامپیوتر خودتان باشند.
13
13
====
14
-
It is entirely possible that you can be working with a ``remote'' repository that is, in fact, on the same host you are.
15
-
The word ``remote'' does not necessarily imply that the repository is somewhere else on the network or Internet, only that it is elsewhere.
16
-
Working with such a remote repository would still involve all the standard pushing, pulling and fetching operations as with any other remote.
14
+
به سادگی امکان پذیر است که شما با مخازن ``remote'' ی کار کنید که در واقع در همان کامپیوتر خودتان قرار دارد.
15
+
واژه ی ``remote`` لزوما به معنی این نیست که مخزن دور از دسترس، روی اینترنت یا هرجای دیگر شبکه باشد، تنها به این معنی است که مخزن جای دیگری است.
16
+
این گونه مخازن راه دور نیز همانند دیگر مخازن راه دور با مسائل دریافت داده، ارسال داده و عملیات دیگر درگیر هستند.
17
17
====
18
18
19
19
==== Showing Your Remotes
20
20
21
-
To see which remote servers you have configured, you can run the `git remote` command.(((git commands, remote)))
22
-
It lists the shortnames of each remote handle you've specified.
23
-
If you've cloned your repository, you should at least see `origin` -- that is the default name Git gives to the server you cloned from:
21
+
برای دیدن سرورهای راه دوری که پیکربندی شده اند، می توانید دستور `git remote` را اجرا کنید.(((git commands, remote)))
22
+
این دستور نامهای کوتاه سرورهای راه دوری که شما برگزیدید را نشان خواهد داد.
23
+
اگر نسخه ای از یک مخزن راه دور بردارید، باید دست کم یک `origin` ببنیند. -- گیت به شکل پیش فرض به سروری که با آن کار می کند این نام را می دهد:
24
24
25
25
[source,console]
26
26
----
@@ -36,7 +36,7 @@ $ git remote
36
36
origin
37
37
----
38
38
39
-
You can also specify `-v`, which shows you the URLs that Git has stored for the shortname to be used when reading and writing to that remote:
39
+
همچنین متوانید `-v` را بکار گیرید، این دستور به شما نشانی های URL ی را نشان می دهد که برای خواندن و نوشتن داده های پروژه به کار می روند..
0 commit comments