Originally published at codepulse.blog on May 2, 2020.In this article, I will discuss the steps to manage GitHub repo using VS Code. It can be possible without writing a single command and it will save our time. I have been using the timeline view quite a lot for the past few weeks and personally I think it’s a great and very needed addition to VS Code. There is also a new Open Timeline command on the File Explorer’s context menu, to quickly show the timeline for the selected file. A context menu provides commands to Copy Commit ID and Copy Commit Message. Selecting a commit will open a diff view of the changes introduced by that commit. Here is a quote from the release notes: In this release, the built-in Git extension contributes a timeline source that provides the Git commit history of the specified file. You can also view the commits and see a diff view for the file. So basically you can select different sources for the timeline and if you for example select Git as a source, you get nice view of Git commit history for a file. Timeline view is a unified view for visualising time-series events (for example, Git commits, file saves, test runs, etc.) for a file. In the March 2020 update Timeline view was out of preview and enabled by default. This was mostly because I use Git and I need to see Git commit history and changes for a given file and VS Code itself doesn’t offer a good tool for that. In that post I mentioned GitLens as one of my favourite plugins. Couple of weeks ago I wrote about the Best extensions for VS Code in 2020. I am, like many other developers nowadays, using Git and VS Code as my version control and code editor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |