Overview
This guide covers the complete setup process for working with the Note knowledge base, including Obsidian configuration, Git settings, and tool optimization.The repository uses Obsidian as the primary note-taking tool with Git for version control. Follow these steps to get your environment configured correctly.
Obsidian Setup
Obsidian is the primary tool for managing and editing notes in this knowledge base.Install Obsidian Plugin
Install the Obsidian Custom Attachment Location plugin to manage image and asset paths.You can install it directly using this Obsidian URL:
Typora Setup (Alternative Editor)
Typora can be used as an alternative markdown editor for this knowledge base.Git Configuration
User Settings
Configure your Git identity for commits:One-Command Push Alias
Create a Git alias for quick commits and pushes:UTF-8 Encoding Configuration
To prevent encoding issues and display Chinese characters correctly in Git logs:Additional encoding fixes for Windows
Additional encoding fixes for Windows
If you’re using Windows and experiencing encoding issues:1. Set console encoding to UTF-8:2. Use Git Bash or WSL:
Git Bash and Windows Subsystem for Linux (WSL) have better UTF-8 support by default and typically avoid encoding issues.3. Configure console font:
Ensure your terminal uses a UTF-8 compatible font like Consolas.4. Ensure text editor uses UTF-8:
Make sure your text editor saves files in UTF-8 encoding, especially for commit messages.
Proxy Configuration (Windows)
If you’re using Clash or another proxy tool and Git clone/pull operations are slow or failing:Replace
7890 with your actual proxy port if different. This setting is typically needed when using Clash on Windows.Handling Windows File Name Issues
Windows doesn’t support certain characters in file names (like:, *, ?, etc.). If you encounter “unable to create file: Invalid argument” errors:
Option 2: Rename Files (Recommended)
The recommended approach is to:
- Find the problematic files on GitHub/GitLab web interface
- Rename them to remove illegal characters
- Pull the repository again
GitHub Codespaces Configuration
If you’re using GitHub Codespaces to work with this repository:Verification
After completing the setup, verify your configuration:Troubleshooting
Git pull/clone is very slow
Git pull/clone is very slow
Solution: Configure proxy settings if you’re behind a firewall or using a VPN:Adjust the port number based on your proxy configuration (common ports: 7890, 1080, 8080).
Chinese characters appear as garbled text
Chinese characters appear as garbled text
Solution: Configure UTF-8 encoding:For Windows Command Prompt:
Cannot create files with special characters
Cannot create files with special characters
Solution: This is a Windows file system limitation. Either:
- Rename the files on the web interface before pulling
- Use WSL or a Linux environment
- Set
git config core.protectNTFS false(not recommended)
Obsidian images not displaying
Obsidian images not displaying
Solution: Verify your attachment path settings:
- Check that the Obsidian Custom Attachment Location plugin is installed
- Verify the attachment path is set to
./assets - Ensure images are using relative paths
- Check that the assets directory exists in your vault
Next Steps
Explore Content
Start exploring the knowledge base topics
Interview Prep
Dive into interview preparation materials