sinpro.dev
Docs
Talk
Talk
  • Company Information
    • Portfolio
    • About
    • Services
    • Events
  • Dev Environment
    • macOS Settings
    • Chrome Extensions
    • VSCode Workspace Settings
    • VSCode Workspace Extensions
    • Global NPM Packages
    • npm-check-updates
    • SvelteKit
    • Customize Zsh
    • ChatGPT Prompts
    • Tailwind CSS
    • Warp
    • Keyboard Shortcuts
  • Assets
    • Assets
    • JPG/PNG to AVIF
    • TTF to WOFF2
  • Clean Code
    • Clean Code
    • Format
    • Quality
    • Variables
    • Functions
    • Objects and Data Structures
    • Classes
    • Concurrency
    • Error handling
    • Comments
  • Code Style
    • TypeScript Config
    • Prettier
    • ESLint
    • Stylelint
  • Testing
    • Vitest
    • Playwright
  • Git
    • Git Branches and Commits
    • Git Hooks
    • Git User Profiles
    • Git for Windows
  • GitHub
    • GitHub Issues
    • GitHub Pull Requests
    • GitHub Repository Settings
    • GitHub Branch Protection
    • GitHub Actions
  • Code Quality
    • SonarCloud Coverage
  • Server
    • SSH
    • PM2
    • Caddy
    • Updating the server
    • ngrok
  • Team sinProject
    • Our Team Policy
    • Equipment and Supplies
    • Books
    • Slack
    • Locales
    • Funny Apps
    • Docs History
  • Talk
    • Talk
    • Creating a Project
    • App Structure

Git

Git User Profiles

Edit this page

This document will guide you on setting up your git user profiles using the Git Config User Profiles extension in VSCode. This is especially helpful for people who share a development device.

Installing the Extension

  1. Navigate to the Extensions tab.
  2. Search for Git Config User Profiles and install it.

Creating a Git Config User Profile

  1. Open the command palette with Shift + Command + P.
  2. Search and execute git config user profiles: create a git config user profile.
  3. You will then be prompted to enter your profile name, account name, and an email address to create your profile.

Selecting a Git Config User Profile

  1. Open the command palette again.
  2. Search and execute Git Config User Profiles: Select a git config user profile.
  3. A confirmation pop-up will appear in the bottom right corner. If there are no issues, proceed with the selection.

Note: This operation will update the account information documented in the open project to the selected profile.

Resolving Account Information Discrepancies

If there are discrepancies between the account information in the selected profile and the open file, a warning will be displayed in yellow on the blue bar at the bottom of the screen. To resolve this:

  1. Click on the warning or,
  2. Repeat step [3] of the Selecting a Git Config User Profile section above to select the correct profile.
Git Hooks Git for Windows
© sinProject. v0.73.0
On this page
  • Git User Profiles
  • Installing the Extension
  • Creating a Git Config User Profile
  • Selecting a Git Config User Profile
  • Resolving Account Information Discrepancies