![]() ![]() Originally published at codepulse.blog on May 2, 2020. 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. But if I use Git with commands in the console its working perfectly. This course will teach you how to work with Git and GitHub in Visual Studio 2022 to track and store the changes of your C code and to collaborate with other. Per example if I ask to commit, I have the following on the console. Working with Git and GitHub in Visual Studio 2022 by Thomas Claudius Huber Git is the most commonly used version control system. I can Stage the code, but most of the other functions are not working. 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. 2 days ago &0183 &32 Previously everything was working fine, at some point Git started to behave strangely on VSCode. 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. |