Skip to content

Commit

Permalink
Added git section and extensions for Issue #17
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Baeuerlein committed Sep 22, 2020
1 parent 9f31f52 commit 98787a6
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ A guide for useful extensions and configuration examples to unleash the power of
- [9. Code formatting & cleanup](#9-code-formatting--cleanup)
- [10. Code Coverage](#10-code-coverage)
- [11. Integrate Clang sanitizers](#11-integrate-clang-sanitizers)
- [12. GitHub integration](#12-github-integration)
- [12. Git integration](#12-git-integration)
- [13. GitHub integration](#13-github-integration)
- [13. Other nice extensions](#13-other-nice-extensions)
- [14. Some shortcuts and features](#14-some-shortcuts-and-features)
- [14.1. Official VS Code shortcut cheat sheet](#141-official-vs-code-shortcut-cheat-sheet)
Expand Down Expand Up @@ -121,7 +122,13 @@ More about the integration of the Clang sanitizers could be found in the [Clang

---

# 12. GitHub integration
# 12. Git integration

See helpful extensions that are dealing with git in the [Git](doc/git.md) documentation.

---

# 13. GitHub integration

An overview how to use GitHub together with VS Could be found within the [GitHub integration documentation](doc/GitHub.md).

Expand Down
32 changes: 32 additions & 0 deletions doc/git.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

# Git integration <!-- omit in toc -->

# Table of contents <!-- omit in toc -->

- [Overview](#overview)
- [GitLens](#gitlens)
- [Git Graph](#git-graph)

---

# Overview

There are various nice tools that support you on working with git. See the list below to get a glimpse of it.

---

# GitLens

Remembering the old comment style in legacy code bases that show how changed what and why? With [GitLens](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens) that is built in without distracting you with meaningless comments and massively bloated source files. Additionally you get various interesting details, like a line-wise change history, of all parts of your code that is stored within git.

![Change History](https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/docs/hovers-current-line.png)

There are a lot of real cool features and a lot of customization possible. So it is really Git supercharged!

# Git Graph

If you prefer a visual representation of all your branches, [Git Graph](https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph) is a really nice tool. It helps you to navigate through your repo and also displays detailed information about the single commits.

To run it, simply open the command palette (`Ctrl+Shift+P`) and run **Git Graph: View Git Graph** and explore your branches.

![Git Graph](https://raw.githubusercontent.com/mhutchie/vscode-git-graph/master/resources/demo.gif)

0 comments on commit 98787a6

Please sign in to comment.