DEV Community

Cover image for Pull sooner and merge faster in VS Code
Agnieszka Stec for GitLive

Posted on

Pull sooner and merge faster in VS Code

🔑 The key to faster merging is to pull sooner! Here is how you can make sure you’re always up to date with your remote and reduce the chances of conflicts.

TLDR;


1️⃣ If you haven’t already, go to the VS Code marketplace and install GitLive extension.

Image description

2️⃣ Once you click on the GitLive icon in the activity bar, you'll get the overview of all branches ahead, in terms of commits, of your current branch, and changes on those branches, grouped by the author.

Image description

3️⃣ Your tracking and base branches will show at the top of the tree. If you're behind you’ll see how many commits there are to pull and you can open up the branch to review the changes.

Image description


That's it for now, thanks for reading and let us know what you think in the comments!

Top comments (7)

Collapse
 
codeofrelevancy profile image
Code of Relevancy

Just amazing

Collapse
 
stecagnieszka profile image
Agnieszka Stec

Thanks!

Collapse
 
sunnnygl profile image
Sunny

🚀🚀🚀

Collapse
 
manojlingala profile image
manojlingala

The GitLive extension seems like a useful tool for managing the Git workflow .
It's supported only in VS code ? or the extensions will also work with Rider / Visual Studio ?

Collapse
 
stecagnieszka profile image
Agnieszka Stec

Thanks, hope you will give it a try! Atm GitLive is available in VS Code and all JetBrains IDEs, including Rider, and support for Visual Studio is on our roadmap :)

Collapse
 
xpf0000 profile image
徐鹏飞

likes so cool, thank's for share

Collapse
 
stecagnieszka profile image
Agnieszka Stec

Thank you!