paint-brush
Get Notified When There are Commits to Pull in VS Codeby@gitliveapp
141 reads

Get Notified When There are Commits to Pull in VS Code

by GitLiveFebruary 3rd, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

With GitLive’s new pull reminders, you can now pull sooner, reduce the chances of conflicts, and merge faster! Get notified the moment your remote has been updated and there are commits to pull and inspect the changes in the branches you are behind.
featured image - Get Notified When There are Commits to Pull in VS Code
GitLive HackerNoon profile picture

With the help of GitLive’s new pull reminders, you can now pull sooner, reduce the chances of conflicts, and merge faster!


Get notified the moment your remote has been updated and there are commits to pull from your tracking branch.

Commits to pull from the tracking branch

We'll even notify you on falling behind your base branch (the branch you plan to merge your changes back into once you're done), we figure out your base branch by checking the git reflog to see which branch you originally branched off when you created your current branch.


Commits to pull from the base branch

It's not always possible to tell where you branched from in the local reflog, in these cases we'll assume it was your default branch if possible, otherwise, we'll just ask you to pick one. In any case, you can easily change the base branch by clicking Change base on the notification.


Set a base branch

You can also select No base branch to suppress notifications for your root branch (typically your main/trunk branch). Once the relationship between your branches is correctly set, you'll be notified when you are behind any branch in the chain of bases up to your root branch.


💡 Example: If you follow a GitFlow style branching strategy with main and develop branches, and your current feature branch was branched off develop, you'll not only be notified if your branch is behind develop but also if develop is behind master.

Finally, you can click Show changes on the notification to open the repository view where you can inspect the changes in the branches you are behind.


 Show changes in the repository view

The repository view also shows all the remote feature branches ahead, in terms of commits, of your current branch, check out this article to learn more.



Don't have the GitLive extension installed yet? You can find it here, and if you want to learn more about the latest release, check out this blog post.


Also published here.