Skip to content

Commit 4c4eae5

Browse files
committed
Update viewing-history.asc
1 parent 282d3e7 commit 4c4eae5

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

book/02-git-basics/sections/viewing-history.asc

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[[_viewing_history]]
2-
=== Viewing the Commit History
2+
=== دیدن تاریخچه ی ثبت ها
33

4-
After you have created several commits, or if you have cloned a repository with an existing commit history, you'll probably want to look back to see what has happened.
5-
The most basic and powerful tool to do this is the `git log` command.
4+
پس از اینکه چندین ثبت ساختید، یا شاید یک مخزن را که خود تارخچه ای از ثبت ها را در بر دارد، کپی کردید، شاید بخواهید ببینید که در ثبت های پیشین جه پیش آمده است.
5+
یک ابزار بسیار اساسی و قدرتمند برای این کار دستور `git log` است.
66

7-
These examples use a very simple project called ``simplegit''.
8-
To get the project, run
7+
در این مثال یک پروژه بسیار ساده به نام ``simplegit'' را می بینیم.
8+
برای داشتن پروژه تنها دستور زیر را اجرا کنید:
99

1010
[source,console]
1111
----
1212
$ git clone https://github.com/schacon/simplegit-progit
1313
----
1414

15-
When you run `git log` in this project, you should get output that looks something like this:(((git commands, log)))
15+
هنگامی که `git log` را در این پروژه اجرا میکنید, چیزی شبیه این را می بینید:(((git commands, log)))
1616

1717
[source,console]
1818
----
@@ -36,12 +36,13 @@ Date: Sat Mar 15 10:31:28 2008 -0700
3636
first commit
3737
----
3838

39-
By default, with no arguments, `git log` lists the commits made in that repository in reverse chronological order -- that is, the most recent commits show up first.
40-
As you can see, this command lists each commit with its SHA-1 checksum, the author's name and email, the date written, and the commit message.
39+
هنگامی که دستور `git log` را بدون هیچ پیشوند و پسوندی بکار می گیرید، ثبت های موجود در مخرن به ترتیب زمانی معکوس نمایش داده می شوند -- یعنی ثبت های اخیر بالاتر و زودتر نمایش داده می شوند.
40+
همان گونه که می بینید، این دستور ثبت ها را به همراه کد SHA-1، نام و ایمیل نویسنده، تاریخ نگارش و متن پیام ثبت نشان میدهد.
4141

42-
A huge number and variety of options to the `git log` command are available to show you exactly what you're looking for.
43-
Here, we'll show you some of the most popular.
42+
دستور `git log` برای برآوردن نیاز شما و نشان دادن هر آنجه که به دنبال آن هستید، گزینه های فراوان و گوناگونی دارد.
43+
در این ما چندتا از پرکاربردهایشان را به شما نشان می دهیم.
4444

45+
یک گزینه سودمند که می تواند تفاوتهای موجود در هر ثبت
4546
One of the more helpful options is `-p` or `--patch`, which shows the difference (the _patch_ output) introduced in each commit.
4647
You can also limit the number of log entries displayed, such as using `-2` to show only the last two entries.
4748

0 commit comments

Comments
 (0)