MyGit

git-town/git-town

Fork: 106 Star: 2626 (更新于 2024-11-19 15:41:15)

license: MIT

Language: Go .

Git branches made easy

最后发布版本: v14.3.1 ( 2024-07-16 11:00:08)

官方网址 GitHub网址

Git Town logo
end-to-end test status unit test status linters and documentation test status windows tests Go report card status Netlify deploy status

Git Town provides additional Git commands that automate the creation, synchronization, shipping, and cleanup of Git branches. Compatible with all popular Git workflows like Git Flow, GitHub Flow, GitLab Flow, and trunk-based development. Supports mono-repos and stacked changes. Check out this screencast for an introduction.

Basic development commands

  • hack - create a new up-to-date feature branch off the main branch
  • sync - update existing branches, remove shipped branches
  • switch - switch between branches via text UI
  • propose - create a pull or merge request for a feature branch

Stacked changes

  • append - insert a new branch as a child of the current branch
  • diff-parent - show the changes committed to a feature branch
  • merge - merge two adjacent branches in a stack into one
  • prepend - insert a new branch between the current branch and its parent
  • set-parent - update the parent of a branch

Limit branch syncing

  • contribute - add commits to somebody else's feature branch
  • observe - track somebody else's feature branch without contributing to it
  • park - stop syncing one of your feature branches
  • prototype - sync but don't push a branch

Dealing with errors

  • continue - restart the last Git Town command after having resolved conflicts
  • skip - restart the last run Git Town command by skipping the current branch
  • status - displays or resets the current suspended Git Town command
  • undo - undo the most recent Git Town command

Setup and configuration

  • config - display or update your Git Town configuration
  • config setup - run the visual setup assistant
  • offline - start or stop running in offline mode

Advanced development commands

  • compress - squash all commits on feature branches down to a single commit
  • delete - remove a feature branch
  • rename - rename a branch
  • repo - view the repository homepage
  • ship - merge a completed feature branch and remove it

Installation

See the installation and configuration instructions.

Documentation

The Git Town website provides documentation for Git Town users. git town help [command] shows help on the CLI.

Contributing

Found a bug or have an idea for a new feature? Open an issue or send a pull request! Our developer documentation helps you get started.

Stargazers over time

最近版本更新:(数据更新于 2024-10-14 14:31:03)

2024-07-16 11:00:08 v14.3.1

2024-07-13 10:19:05 v14.3.0

2024-06-26 09:12:25 v14.2.3

2024-06-07 05:17:27 v14.2.2

2024-05-31 01:28:36 v14.2.1

2024-04-25 03:43:03 v14.2.0

2024-04-20 03:38:17 v14.1.0

2024-04-13 09:58:19 v14.0.0

2024-03-30 03:46:10 v13.0.2

2024-03-28 06:25:38 v13.0.1

主题(topics):

command-line, git, git-flow, productivity, workflow

git-town/git-town同语言 Go最近更新仓库

2024-11-22 20:14:47 daytonaio/daytona

2024-11-21 22:49:20 containerd/containerd

2024-11-21 13:50:50 XTLS/Xray-core

2024-11-21 07:36:18 kubernetes/kubernetes

2024-11-21 06:27:30 ollama/ollama

2024-11-21 05:17:55 Melkeydev/go-blueprint