CN
CodeNest Docs
Features

Git Integration

CodeNest provides seamless Git integration with visual diff tools, branch management, and merge conflict resolution.

Getting Started with Git

CodeNest automatically detects Git repositories and provides a rich set of tools for version control.

Initialize a Repository

  1. Open your project in CodeNest
  2. Open the Command Palette (Ctrl+Shift+P)
  3. Type "Git: Initialize Repository" and select it
  4. Choose the folder to initialize

Visual Diff

CodeNest provides a powerful visual diff editor that makes it easy to see changes:

  • Side-by-side comparison of changes
  • Inline diff highlighting
  • Word-level diff detection
  • Syntax highlighting in diffs

Branch Management

Manage branches directly from the editor:

  • Create new branches
  • Switch between branches
  • Merge branches
  • Delete branches

Creating a Branch

  1. Click on the branch name in the status bar
  2. Select "Create new branch"
  3. Enter the branch name
  4. Press Enter to create and switch to the new branch

Staging and Committing

The Source Control panel provides an intuitive interface for staging and committing changes:

  • Stage individual files or hunks
  • Write commit messages with syntax highlighting
  • Amend previous commits
  • View commit history

Merge Conflicts

CodeNest provides powerful tools for resolving merge conflicts:

  • Visual merge conflict editor
  • Accept incoming, current, or both changes
  • Manual conflict resolution
  • Conflict navigation