Giter Site home page Giter Site logo

erik-d-mueller / check-it-out Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jwu910/check-it-out

0.0 1.0 0.0 8.77 MB

A command line interface for Git Checkout. See branches available for checkout.

Home Page: https://checkit.club

License: MIT License

JavaScript 100.00%

check-it-out's Introduction

Check It Out Logo

commitizen friendly badge first-timers-only Build Status Downloads per week npm version GitHub version Total alerts Code Climate Score Tweet


Check it out, before you checkout.

Check It Out lets you interactively see and choose what branch you want to check out without the hassle of trying to type out a long or confusing branch name. Checking out branches just got even simpler!

Requirements

Node >= v6.0

Git - Required for core features

Compatibility

Check It Out currently has known issues with Windows. Some users have reported it working while others have reported that it does not. It is built and tested mostly in an Arch Linux environment with some user testing on MacOS and other Linux distributions. We're currently looking for help figuring out why Check It Out is unstable on Windows. See CIO-128

Installation

We're on NPM!

npm install -g check-it-out

Installing from source

Fork or clone the repository

git clone https://github.com/jwu910/check-it-out.git

Navigate to your repository directory and run

npm install

Create a symbolic link to the entry point

In the repository directory run:

npm link

Local development

From your repository directory run

npm run build

To start the application you can run

node index.js

or

npm start

If you want to test your local build in other repositories, you can use npm link which will let you run your local build files with the cio or checkit aliases.

Usage

To get started, just run:

checkit

or

cio

Check It Out Usage

Features

See a git log for the highlighted ref by pressing SPACE

Quick Git Log!

Commands Description
j/k, / Navigate the list
h/l, / Previous/Next remote
Ctrl+r Refresh list with a fetch and prune
enter Select highlighted item
space Git log
& Filter lines - enter blank search to show all lines
/ Search Lines
n Jump to next search result
N Jump to previous search result
q, Ctrl+c, esc Quit

Settings

Git log argument validation is planned, but not finished. Currently, if the git log fails, space should not crash the app, but the process should not spawn at all.

Configurable settings can be found at ~/.config/configstore/check-it-out.json

Options include:

  • gitLogArguments
    • Type: Array
    • Default: ['--color=always', '--pretty=format:%C(yellow)%h %Creset%s%Cblue [%cn] %Cred%d ']
    • Array of strings of valid git log arguments.
  • sort
    • Type: String
    • Default: -committerdate
    • Sort references by latest commit date. Value must be a valid sort key or Check It Out will break on start.
  • themeColor
    • Type: String
    • Default: #FFA66D
    • A hex color code to style Check It Out

To reset Check It Out to its original configurations listed above, start with the flag --reset-config:

checkit --reset-config

Contributing

Please refer to the Contributing Guidelines before contributing.

See the rest of our issues

Contributors

This project wouldn't have been possible with the help so many contributors both in and out of the source code. I look forward to working with you as this project continues to evolve and improve.


Brandon Benefield

📖

Aaron Casanova

💻

Drew Brokke

💻 🤔

Johanna Tchon

💻

Jenell Pizarro

📖

Rebecca Hong

🎨

Jesse Ma

💻

Kien Do

💬 🐛 🤔

Vu Tran

💬 📖 🤔 📢

Efrain 'Rain' Rivas

💬 🐛 💡 🚇 💻 📖

Phuc Le

💬 📢

Can Cellek

💻 📖

Aras Atasaygin

🎨

Donald Lika

💻

Connor Markwell

💻

ahlaw

💻

Kwadwo Busumtwi

📖

Dev Kant K Chouhan

📖

Jaya Krishna Namburu

💻

Céleste Robinson

📖

Juliardi عبدالله

💻

Omar Roa

📖

Rachana

💻

Acknowledgements

Thanks to @kiend for the inspiration and motivation to finish this project. Check This Out.

Logo Design by @arasatasaygin @openlogos

License

MIT @ Joshua Wu

check-it-out's People

Contributors

jwu910 avatar drewbrokke avatar dependabot-support avatar rebeccahongsf avatar dependabot[bot] avatar excalith avatar cmarkwell avatar celesterobinson avatar devkant avatar donaldlika avatar rainrivas avatar jayakrishnanamburu avatar sog01 avatar lorsen avatar rn2293 avatar vutran avatar ahlaw avatar dependabot-preview[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.