Skip to main content

Git Helpers

.gitignore generator, commit validator, URL parser

.gitignore settings

Choose one starter template, then edit the rules before copying them.

Editable ignore rules

Maximum input: 65,536 characters.

Was this Git Helpers helpful?

Help us keep tools reliable, fast, and bug-free.

What you can do with Git Helpers

  • Create gitignore
  • Validate commit message

How this developer utility works

Edit one of four .gitignore starters, validate Conventional Commit headers, or inspect repository metadata from supported Git URLs.

Example input

Repository URL: [email protected]:group/subgroup/app.git

Example output

Provider: GitLab | Protocol: SSH | Owner / namespace: group/subgroup | Repository: app

Practical workflow

  1. Choose one Node.js, Python, Java, or React .gitignore starter and edit its rules.
  2. Copy the edited ignore rules into your repository.
  3. Enter a commit message and validate its Conventional Commit header, including the 72-character limit.
  4. Parse a GitHub, GitLab, or Bitbucket HTTPS or SSH URL to inspect its provider, protocol, owner, and repository.

Common use cases

  • Start a repository ignore file with a language-specific template and adjust it for the project.
  • Catch a malformed Conventional Commit header before creating a commit.
  • Identify provider and namespace details from an HTTPS or SSH Git clone URL.

Important notes and limitations

  • The .gitignore tab contains four local starter templates; editing is manual and the tool offers clipboard copy, not download.
  • Commit validation checks the first-line format, an optional ! breaking-change marker, and the 72-character header limit; it does not evaluate semantic version impact or inspect body and footer conventions.
  • The .gitignore editor, commit-message field, and repository URL field are each limited to 65,536 UTF-16 code units.
  • The URL tab reports metadata for GitHub, GitLab, and Bitbucket links; it does not convert between clone URL formats.

Advanced Git plumbing & history inspection commands

Inspect commit graph visually

git log --graph --oneline --decorate --all -n 20

Renders an ASCII branch topology showing merge forks, tags, and commit hashes across all local and remote branches.

Find dangling and lost commits with reflog

git reflog --date=relative

Lists recent HEAD updates, allowing recovery from accidental hard resets ('git reset --hard') or deleted local branches.

Clean untracked files safely with dry-run

git clean -ndx

Previews which untracked files and ignored build artifacts would be removed without touching disk.

Merge conflicts & detached HEAD troubleshooting

fatal: refusing to merge unrelated histories

Cause: Merging two repositories initialized independently without a shared root commit.

Solution: Append '--allow-unrelated-histories' to the git merge command if intentionally consolidating distinct repositories.

You are in 'detached HEAD' state

Cause: HEAD points directly to a specific commit SHA or remote tag rather than a local named branch pointer.

Solution: Create a branch from this point using 'git switch -c new-feature-branch' to preserve new commits without losing state.

Continue your workflow

  • Git Command Generator — build interactive commands for complex rebasing and undo operations.
  • Diff Checker — compare local changes before staging and committing files.

Frequently asked questions

Which .gitignore starters does the editor provide?

Choose Node.js, Python, Java, or React. Each option replaces the editable text with its matching starter rules.

What does commit message validation check?

It checks the first line for one of eleven supported Conventional Commit types, an optional scope and ! breaking-change marker, a non-empty description, and a maximum length of 72 characters.

Does the Git URL tab convert HTTPS and SSH clone addresses?

No. It reports provider, protocol, owner or namespace, and repository for supported GitHub, GitLab, and Bitbucket URLs.