bit

command module
v0.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

README

bit

Bit is an experimental simple version control system built on top of git. Bit is super easy to learn and will vastly simplify your development workflow.

At times, you may still want/need to use a git command. You can simply run the git command or run it via bit (e.g. bit rebase -i SHA-HASH)

Installation

curl -sf https://gobinaries.com/chriswalz/bit | sh

Verify installation with:

bit

Dependencies: Git

Usage

Create a new commit

bit save [commit message]

Save your changes to the current branch [amends current commit]

bit save

Synchronize yours changes to origin branch

bit sync

Switch branches

bit switch [branch-name]

You have access to ALL git commands as well. 90% of the time the above commands will have you covered.

bit commit -m "I can still use git commands", bit pull -r origin master

Example Workflow

bit switch example-branch Branch does not exist. Do you want to create it? Y/n

yes

Switched to a new branch 'example-branch'

[Makes some changes]

bit save "add important feature"

[fix an error for important feature]

bit save

[push changes to origin]

bit sync

[two days later confirm your branch is in sync with origin]

bit sync

Features

  • Automatic fetching & fast forwarding to keep your branches up to date and prevent merge conflicts
  • Every branch is a completely independent line. Changes in your working directory are saved and in the branch that you switch saved changes are retrieved.
  • Simplify your entire rebase workflow with a single command bit sync [branch-name]
  • Automatic suggestions at your fingertips
  • bit is fully compatible with git. All features of git are available if need be.

Principles

  1. Think in the age of the cloud
  2. Embed the spirit of modern day workflows
  3. Favor simplicity over complexity
  4. Bit should have happy defaults
  5. Bit must be fully compatible with Git

Inspiration

Thanks to Gitless, git-extras, researchers in the field and of course the developers of git itself!

Documentation

Overview

Copyright © 2020 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL