git log --oneline --all?

datajcthemax·2023년 6월 13일
0

git/github

목록 보기
3/18

The git log --oneline --all command is a way of viewing the commit history in your Git repository. Let's break it down:

git log: This is the basic command to show the commit history. By default, it shows the commit hash, author, date, and commit message for each commit.

--oneline: This is an option you can pass to git log to change the way the commit history is displayed. When you use --oneline, each commit is shown on a single line. This is a more compact format that only shows the commit hash and the commit message.

--all: This option tells git log to show all commits in the repository, not just the commits in the current branch.

So, when you run git log --oneline --all, you get a concise, one-line summary of every commit in every branch of your repository. This can be really useful for getting a high-level overview of the history of your project.

0개의 댓글