Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Visual Studio 2022

You're reading from   Hands-On Visual Studio 2022 A developer's guide to exploring new features and best practices in VS2022 for maximum productivity

Arrow left icon
Product type Paperback
Published in Jun 2022
Publisher Packt
ISBN-13 9781801810548
Length 350 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Miguel Angel Teheran Garcia Miguel Angel Teheran Garcia
Author Profile Icon Miguel Angel Teheran Garcia
Miguel Angel Teheran Garcia
Hector Uriel Perez Rojas Hector Uriel Perez Rojas
Author Profile Icon Hector Uriel Perez Rojas
Hector Uriel Perez Rojas
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Part 1: Visual Studio Overview
2. Chapter 1: Getting Started with Visual Studio 2022 FREE CHAPTER 3. Chapter 2: Configuring the IDE 4. Chapter 3: Improvements in Visual Studio 2022 5. Chapter 4: Creating Projects and Templates 6. Chapter 5: Debugging and Compiling Your Projects 7. Part 2: Tools and Productivity
8. Chapter 6: Adding Code Snippets 9. Chapter 7: Coding Efficiently with AI and Code Views 10. Chapter 8: Web Tools and Hot Reload 11. Chapter 9: Styling and Cleanup Tools 12. Chapter 10: Publishing Projects 13. Part 3: GitHub Integration and Extensions
14. Chapter 11: Implementing Git Integration 15. Chapter 12: Sharing Code with Live Share 16. Chapter 13: Working with Extensions in Visual Studio 17. Chapter 14: Using Popular Extensions 18. Chapter 15: Learning Keyboard Shortcuts 19. Other Books You May Enjoy

Viewing changes in repositories

There are several ways in which Visual Studio helps us to visualize the changes in the repositories. The first one is through the Git Repository window, as shown here:

Figure 11.24 – The Git Repository window

This window allows us to visualize whether there are versions that have not been applied in our local repository through Incoming, whether there are commits made locally but not pushed to the server through Outgoing, and also Local History.

If we want to visualize the changes that have occurred between different commits, just right-click on two or more commits and select the Compare Commits… option:

Figure 11.25 – The Compare Commits… option

This will display a new window with the changes that occurred between the different source files.

Another way to view changes to a single file is to right-click on a file in the Solution Explorer and then select the Git | View...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image