Skip to content

A powerful desktop application for comparing Git repositories and visualizing differences between branches, commits, and files. This tool helps developers easily track and analyze changes across their Git projects.

Notifications You must be signed in to change notification settings

coldfire-x/git-compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Compare

A powerful desktop application for comparing Git repositories and visualizing differences between branches, commits, and files. This tool helps developers easily track and analyze changes across their Git projects.

Git Compare Demo

Features

  • 📂 Easy repository selection through a user-friendly interface
  • 🔄 Compare different branches within the same repository
  • 📊 Visual diff representation of file changes
  • 🎯 Side-by-side code comparison
  • 🔍 Advanced search and filtering capabilities
  • 💻 Cross-platform support (Windows, macOS, Linux)

Tech Stack

Frontend

  • React.js - UI framework
  • Electron - Desktop application framework
  • React File Picker - File system interaction
  • CSS3 - Styling and animations

Backend

  • Node.js - Runtime environment
  • Express - Web framework
  • simple-git - Git operations
  • CORS - Cross-origin resource sharing

Prerequisites

  • Node.js (v14 or higher)
  • Git installed on your system
  • npm or yarn package manager

Installation

  1. Clone the repository:
git clone https://github.com/coldfire-x/git-compare
cd git-compare
  1. Install dependencies:
# Install root dependencies
npm install

# Install frontend dependencies
cd frontend
npm install

# Install backend dependencies
cd ../backend
npm install

Running the Application

  1. Start the backend server:
cd backend
npm start
  1. Start the frontend development server:
cd frontend
npm start
  1. Start the Electron application:
cd ..
npm start

Development

  • Frontend runs on http://localhost:3000
  • Backend API runs on http://localhost:3001
  • The Electron app will automatically load the frontend URL

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Screenshots

Repository Selection

Repository Selection

Diff View

Diff View Diff Detail

Buy me a coffee

If you like this project, please consider buying me a coffee.

Buy me a coffee

About

A powerful desktop application for comparing Git repositories and visualizing differences between branches, commits, and files. This tool helps developers easily track and analyze changes across their Git projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published