To read about how git-format-staged works see Automatic Code Formatting for Partially-Staged Files. Note that regardless of which extensions you list formatting will respect any. "Īdd or remove file extensions to suit your project. It supports multiple file states (staged - last-commit, git-files etc.) dotnet new tool-manifestĪfter installation you can add prettier task to the task-runner.json. Use Case: A dotnet solution to use Prettier along with other code quality tools (e.g. Read more at mirror of prettier package for pre-commit and the pre-commit website. pre-commit-config.yaml file: - repo: rev: "" # Use the sha or tag you want to point at hooks: - id: prettier Use Case: Great when working with multi-language projects.Ĭopy the following config into your. husky/pre-commit "npx pretty-quick -staged" The icons within the application for file status, branches, tags etc have all been updated to a ‘flatter’ style too.Pnpm exec husky set. Note that because of OS X caching, you might not see the new icon straight after the auto-update, you’ll probably have to restart the app manually before it’s picked up. This brings it in line with the style of other Atlassian tools like HipChat, and also prepares it to fit seamlessly with the style of the newest version of OS X, Yosemite. SourceTree has a new, flat application icon: If you see gaps or inaccuracies in the translation, please help us fix it at our Transifex project, and if your language isn’t included yet, please help get it to at least that 60% mark. Not all of these translations are 100% complete, our criterion for including a new language is a 60% translation rate, on the basis that this is a good enough start and including it in SourceTree will then prompt others to help complete it. You guys have responded brilliantly to our request for the community’s help translating SourceTree to more languages, and as a result SourceTree for Mac now comes in 10 languages: Easily publish a local repository to a remote service of your choice by right-clicking then ‘ Publish to remote‘.You can now create a repository on a remote service (Bitbucket, GitHub) at the same time as creating a new local repository.Creating new repositories is now simpler – it’s one button.When scrolling, the parent group of bookmarks ‘sticks’ to the top of the view for better context.Repository avatars: avatars assigned on Bitbucket will appear here, or any image files in the root named logo/icon.Press spacebar to quickly look at more detail of the selected repository Cleaner, less cluttered display style.In addition to bringing the two interfaces together, the new window has lots of advantages: If you don’t see the repository browser on load, you can show it with Cmd-B or “Window > Show Repository Browser” from the menu. In SourceTree for Mac version 1.x, you had two separate windows for your Bookmarks (local clones) and Hosted Repositories (your remote accounts on Bitbucket, Stash and GitHub). With 2.0, those windows are combined into a single streamlined window called the Repository Browser, with a ‘Local’ and ‘Remote’ switch: We think you’ll really like it.īookmarks + Hosted Repositories = Repository Browser Hey folks, we just made a major update for SourceTree for Mac available: version 2.0! The highlights of this release include a rework of the bookmarks window, and the addition of a bunch of new translations. SourceTree for Mac 2.0 Released! By Steve on September 25, 2014
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |