"Talk is cheap. Show me the code" - Linus Torvalds
Install through VS Code extensions. Search for Code Journey
Visual Studio Code Market Place: Code Journey
Can also be installed in VS Code: Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
ext install sayanmondal.code-journey
Currently it is possible to do the following:
Code Journey: Init
Initialize a git repositoryCode Journey: Start Jounrey
Copy the commit history of the project and start your journey into the codeCode Journey: What's Next
Move to the next commit of the project from where you are currently atCode Journey: What's Before
Move to the previous commit of the project from where you are currently atCode Journey: Jump to Commit
Jump to a specific commit of the projectCode Journey: Pull Current Branch from Origin
Pull current branch from the originCode Journey: Add Origin
Add an origin to gitCode Journey: Add Remote
Add a remote repository to gitCode Journey: Change/Checkout Existing Branch
Checkout from an existing branch or change a branch in the projectCode Journey: Create New Branch
Create a new branch in the repositoryCode Journey: Log All
Show all the logs of the repositoryCode Journey: Log Current File
Show all the commit history of a specific file- See the difference between the last and the current file in a .diff file
To use this extension one needs to navigate to the project folder in their VSCode Workspace and execute 'Code Journey: Start Journey' command.
To execute the Code Journey: Start Journey
command type Ctrl/Cmd+Shift+p
in VSCode to open the command palette and type Code Journey: Start Journey
. You will then be reverted to the very earliest commit of the project from where you can traverse and look at how the code progressed.
Additionally, by default this extension assumes the git binary is already available in your machine and a git repository is already initialized for the project. If you wish to initialize a git repository, you can do this by executing Code Journey: Init
.
There are additional settings for this extension as well, enter Code Journey
in the Command Palette of VS Code to see them all.
Check the difference in commit histories in a .diff
file
This project follows the all-contributors specification. Contributions of any kind welcome!