In.gitconfig file I setup up the git diff as follows: [diff] tool = kdiff3 [difftool 'kdiff3'] path = path_directory/kdiff3.app In this setting kdiff is not accessible and I get the following error when I run in terminal >> git difftool The diff tool kdiff3 is not available as 'Kdiff_local_software_path/kdiff3.app' fatal: external diff died, stopping at modified_file Do you have any suggestion I can fix this issue? In my current setup Mac OS 10.10.5 git diff tool is git merge tool that I want to replace with kdiff. Kdiff3 is generally located at the following location: /Applications/kdiff3.app/Contents/MacOS/kdiff3 so, try [difftool 'kdiff3'] path = /Applications/kdiff3.app/Contents/MacOS/kdiff3 If you installed kdiff using brew, then you'd not need the difftool parameter in config for git 1.8 onwards. Just the following would work: [diff] tool = kdiff3 If you installed kdiff mounting the dmg file to kdiff.app then set your local path as following: [difftool 'kdiff3'] path = directory_path_where_you_installed/kdiff3.app/Contents/MacOS/kdiff3. If there's a.git folder, delete it. If there's a gitignore file, delete it. Press Command + Shift +. To hide the files and folders. Open your solution in VS for Mac. On the solution pad, select your solution node. Browse to the Version Control menu and choose Publish in Version Control. Follow the steps of the above tutorial starting from the step 6. Installing Git OSX Setup. If you have never used Git on your computer, you most likely will not have it installed. Pull up your terminal and type in git.It should prompt you that you need to install Xcode Command Line Tools to actually install Git. System Preferences After clean install of operating system there are a couple of tweaks I like to make to the System Preferences. Some of them are not strictly related to web development environment - I use them because of my personal habits. • General > User dark menu bar and Dock • General > Ask to keep changes when closing documents • General > Close windows when quitting an app • Dock > Automatically hide and show the Dock • Keyboard > Key Repeat > Fast (all the way to the right) • Keyboard > Delay Until Repeat > Short (all the way to the right) Much more settings can be configured by macOS defaults - command line utility that manipulates system configuration files. The system stores user preferences in a.plist files located in ~/Library/Preferences directory. Set Dock Size In my opinion, the best size of the dock is 35. Git Settings MacRemember that this is due to the size and resolution of my MacBook screen. $ brew cask install Brewfile Installing each application and package separately may take some time. Allows to automatically install everything listed in the Brewfile file. Here are all applications I usually install with a brief description. $ npm install -g gulp-cli jest live-server create-react-app Web Browsers Currently, I have installed all major web browsers: • • • • For main development I use Google Chrome. https://ecseoseori.weebly.com/blog/download-free-convert-xml-to-json-object-cfor-mac-free. Chrome Extensions • - block ads • - block spying ads and invisible trackers • - anti-adblock defuser • - automatically switch from 'http' to 'https' • - validate and view JSON documents • - inspect component hierarchies and states • - inspect and debug state changes • - toggle different colored outlines on every element for quick CSS layout debug Visual Studio Code All default settings changes are stored in settings.json file located in /Users//Library/Application Support/Code/User. How To Install From Github LinuxYou can open it by pressing Command ⌘ + Shift ⇧ + p and choosing Preferences: Open Settings (JSON). Here are my settings.json contents.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |