GithubHelp home page GithubHelp logo

gitpull's Introduction

Git Pull command for Visual Studio

Build status

Download the extension from the Visual Studio Marketplace or get the latest CI build


Always stay-up-to date with the latest commits to your source code repositories and avoid push conflicts.

This implementation embeds hub and executes the sync command, see: https://hub.github.com/hub-sync.1.html

  • If the local branch is outdated, fast-forward it;
  • If the local branch contains unpushed work, warn about it;
  • If the branch seems merged and its upstream branch was deleted, delete it.

Manual Git Pull

This extension exposes the "git pull" command on the context menu of the solution node in Solution Explorer. The same command is also available using the keyboard short cut Ctrl+K, Ctrl+Z.

Guids and IDs

Automatic Git Pull

The extension can also invoke "git pull" automatially when a solution opens. The extension will load on a background thread when the first solution is being opened. It does so with little to no impact to solution load performance.

This can be enabled in the Tools -> Options dialog as illustrated below.

Options

When this setting is set to false, the extension is not being loaded at all. Only when the command is manually invoked will the extension load.

Visual confirmation

The Output Window will show the information about the git pull command.

Statusbar

License

Apache 2.0

gitpull's People

Contributors

jcansdale avatar madskristensen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gitpull's Issues

AutoFetch maybe?

Just an idea, since I think you are trying to solve similar problem:

In Visual Studio 2017's status bar, there's a badge with number of unpushed commits.
Visual Studio Code extends it with number of "unpulled" commits and a sync button:

image

In order to show number of unpulled commits, it simply fetches commits from upstream branch every minute or so. This does not cause any conflicts and it is super useful.

What do you think?

Pull on Solution Open = True, but doesn't pull on open

I'm using this extension with VS 2022 and I have Pull on Solution Open set to True, but git does not do a pull on solution open.

However, when I go into Options > Source Control > Git Pull (with Pull on Solution Open = True) and then click OK, a git pull occurs.

Add missing Microsoft.AspNetCore.Mvc.Core reference for controller template

Describe the bug
When you add a controller and you use Microsoft.AspNetCore.Mvc library for your dependency, the using statement on the newly created file is missing, and the controller base is also missing.

To Reproduce
Steps to reproduce the behavior:

  1. Add Microsoft.AspNetCore.Mvc to dependencies on the project that you will create the controller file on.
  2. Add a controller file
  3. file will be missing the using statement for Microsoft.AspNetCore.Mvc and controller from base

Expected behavior
the controller file should have a using statement
using Microsoft.AspNetCore.Mvc;
and class

namespace ConsoleApp1.Controllers
{
    public class NameController : Controller
    {

    }
}

Screenshots
when using Microsoft.AspNet.Mvc library on NET Core 6 the warning below appears
image

Additional context
Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.