Giter Club home page Giter Club logo

birgit's Introduction

birGit / birgit / Birgit / b

Git helper

This amazing software was presented at FSCONS 2015

"Groundbreaking User Experiences" - FSCONS 2015

to list commands just write ./birgit

to run a command write ./birgit [command]

to add a command put a file in birgit_ folder

add birgit to your path in your .bashrc or .zhrc or where you want. i also recomend to use alias b


about


birGit / birgit / Birgit / b

birGit is a git tool that allows you to easily use the power of the command line together with git. This software's main focus is to reduce (multiline) long git commands to simple commands.


birGit

  • provides git commands that without birgit are too complex to use.
  • has an amazing easy to expand file/folder code structure
  • returns results with atomic rows.
  • is written in bash.
  • is your source of power

content

This talk will introduce you to birGit.

How to:

  • use birGit
  • know birGit
  • expand birGit
  • send birGit patches to the main project.
  • how birGit was made with opensource in mind.

use birGit - installation

git clone https://github.com/paven/birGit.git ~/opt/birGit && echo 'export PATH=$PATH:~/opt/birGit/' >> ~/.profile && echo "alias b=birgit" >> ~/.profile

use birGit

b

list all commands in birgit


use birGit - log

b log

displays the git log in a nice way


use birgit - root

b root

path to git root


use birgit - rebase

b rebase

rebase your work on origin/master


use birgit - amend

b amend <commitish>

some code is under development... this one jumps back to a previous commit, and amends it.


know birgit

executable files in a folder

cat ~/bin/birGit/birgit

some code is just perfect


know birgit - design choices

  1. birgit reports should return results that are easy to pipe
  2. birgit should produce the same result independently of where within your repository you are standing
  3. birgit should be like your firm but kind grandmother

know birgit - log

cat ~/bin/birGit/birgit_/log

A simple example


know birgit - ammend

cat ~/bin/birGit/birgit_/amend

A complex example


expand birGit - clone

Fork

cd ~/bin
rm -r birGit
git clone [email protected]:paven/birGit.git

use your repo


expand birGit - pullRequest

git commit . "Sane description of change"
git push

pull request


alternatives

  • your own scripts..
  • git alias
  • shell alias

more time = more code


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.