pre-commit vs Upsource

Need advice about which tool to choose?Ask the StackShare community!

pre-commit

1.1K
44
+ 1
0
Upsource

52
76
+ 1
58
Add tool

pre-commit vs Upsource: What are the differences?

What is pre-commit? A slightly improved pre-commit hook for git. pre-commit checks your code for errors before you commit it. pre-commit is configurable.

What is Upsource? Self-hosted Git, Mercurial, Subversion and Perforce repository browser and code review tool. Upsource summarizes recent changes in your repository, showing commit messages, authors, quick diffs, links to detailed diff views and associated code reviews. A commit graph helps visualize the history of commits, branches and merges in your repository.

pre-commit and Upsource are primarily classified as "Git" and "Code Collaboration & Version Control" tools respectively.

Some of the features offered by pre-commit are:

  • debugger: make sure you don't commit a debugger statement
  • tabs: make sure your code uses leading spaces instead of tabs
  • whitespace: make sure you don't commit trailing whitespace

On the other hand, Upsource provides the following key features:

  • Instantly access all your projects
  • Keep track of code changes
  • Use code insight in Java projects

pre-commit is an open source tool with 756 GitHub stars and 96 GitHub forks. Here's a link to pre-commit's open source repository on GitHub.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of pre-commit
Pros of Upsource
    Be the first to leave a pro
    • 15
      Free for 10 users
    • 12
      Good code review
    • 8
      Java code inspections and navigation
    • 8
      IDE integration
    • 3
      Has a linux version
    • 3
      Simple to use
    • 2
      Atlassian Integration
    • 2
      Jira integration
    • 2
      Post-commit preview
    • 2
      Self hosted
    • 1
      SonarQube Integration

    Sign up to add or upvote prosMake informed product decisions

    Cons of pre-commit
    Cons of Upsource
      Be the first to leave a con
      • 3
        Very Large Server Footprint. Very large

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is pre-commit?

      pre-commit checks your code for errors before you commit it. pre-commit is configurable.

      What is Upsource?

      Upsource summarizes recent changes in your repository, showing commit messages, authors, quick diffs, links to detailed diff views and associated code reviews. A commit graph helps visualize the history of commits, branches and merges in your repository.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use pre-commit?
      What companies use Upsource?
      See which teams inside your own company are using pre-commit or Upsource.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with pre-commit?
      What tools integrate with Upsource?
        No integrations found

        Sign up to get full access to all the tool integrationsMake informed product decisions

        What are some alternatives to pre-commit and Upsource?
        hub
        hub is a command line tool that wraps git in order to extend it with extra features and commands that make working with GitHub easier.
        Git Flow
        It provides excellent command line help and output. It is a merge based solution. It doesn't rebase feature branches.
        Atlassian Stash
        It is a centralized solution to manage Git repositories behind the firewall. Streamlined for small agile teams, powerful enough for large organizations.
        Git-Repo
        Control your remote git hosting services from the git commandline. The usage is very simple.
        TortoiseGit
        It is a Git revision control client, implemented as a Windows shell extension and based on TortoiseSVN. It is free software released under the GNU General Public License.
        See all alternatives