You'll get an Notification, that allows you to push your changes as soon as you commit them. It will allow you to push every commit immediately to the remote If you close VS Code with your mouse by pressing the 'x'-button, the check fur unpushed commits will not perform. Unfurtunately, this will only work if you close VS Code by keyboard shortcut. When you choose to push the changes, all commits will be pushed to the remote and VS Code will close itself. If you have changes that are not pushed to the remote and you try to close VS Code, 'Git (Submodule) Assistant' will prevent VS Code from closing and let you choose if you wish to push the changes or close VS Code. It will warn you if you close VS Code and not all commits were pushed to the remote You can interact with the notification and easily switch to another branch. The names of the branches can be configured in the VS Code settings panel. Whenever you are on a branch, you should not commit, 'Git (Submodule) Assistant' will display a warning. 'Git (Submodule) Assistant' helps you with the following things: It will warn you if you work on a branch where you should not commit (e.g. For many features it is possible to enable an auto-fix (see section SETTINGS): as soon as the problem is detected 'Git (Submodule) Assistant' will solve it for you. Every feature can be disabled and configured in the VS Code settings. You'll get a notification and the possibility to fix the problem with a simple click. It offers a few features, that can detect common mistakes when handling with Git-repositories. The 'Git (Submodule) Assistant' runs as a background service and integrates in the VS Code taskbar. * the ".git" Folder must be located in the root of the opened Workspace-Folder Features Then the extension will enable itself and assist you. Simply install this extension in VS Code and open a Git-repository*. The fixes can be also applied automatically as soon as the problem is detected. This extension detects these problems, notifies and assists you with fixes. Specially the use of Submodules in a project, when done wrong, can introduce some unintended problems. 'Git (Submodule) Assistant' is an extension for VS Code that helps you preventing common problems when handling with Git-repositories. I (the original maintainer) don't use submodules and this extension anymore. Not under active development! Feel free to contribute to the project if you like seeing it improve.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |