Skip to content

Version control updates with a few more git log options#439

Merged
KimberleyCook merged 3 commits intocodebar:gh-pagesfrom
jvsanchez28:version-control-updates
Jul 21, 2019
Merged

Version control updates with a few more git log options#439
KimberleyCook merged 3 commits intocodebar:gh-pagesfrom
jvsanchez28:version-control-updates

Conversation

@jvsanchez28
Copy link
Copy Markdown
Contributor

No description provided.

$ git log --stat
```

Even can do graphs with the --graph command. It will display an ASCII graph of the branch and merge history beside the log output.
Copy link
Copy Markdown
Contributor

@KimberleyCook KimberleyCook Apr 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first few words here I don't think make sense, maybe a word at the beginning is missing?

Copy link
Copy Markdown
Contributor

@KimberleyCook KimberleyCook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for this addition @jvsanchez28, we really appreciate the help with these tutorials. I have just one little comment, once that is looked at I'm happy for it to be merged in :)


By default, with no arguments, git log shows the most recent commits first.

If we want to limit the number of log entries displayed we can use the a number as an option, such as -3 to show only the last three entries.
Copy link
Copy Markdown
Contributor

@MarkCBJSS MarkCBJSS Apr 10, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small change here too: "...we can use the a number as an option..." should read as "we can use a number as an option"

Thanks for the improvements, Javier. Turning into a solid tutorial.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice spot, thanks @MarkCBJSS

@jvsanchez28
Copy link
Copy Markdown
Contributor Author

Thank you so much fro the review.
I have made a few changes to fix the errors :)

Copy link
Copy Markdown
Contributor

@KimberleyCook KimberleyCook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delayed re-review of this @jvsanchez28. Happy to merge this in, thanks for your work on it 💃

@KimberleyCook KimberleyCook merged commit a3b22d4 into codebar:gh-pages Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants