GithubHelp home page GithubHelp logo

deni-eng-27 / gitwork Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonseymour/gitwork

0.0 1.0 0.0 52 KB

A proposal for work branch management commands

Home Page: http://github.com/jonseymour/gitwork

Shell 100.00%

gitwork's Introduction

NAME

gitwork - a proposal to add working branch management commands to git

DESCRIPTION

This project builds a package that can be used to update an existing git installation with scripts and man pages that implement the proposed git work and git base commands.

In this way, people who are not in a position to rebuild their own version of git can still make use of the proposed commands.

For more details about the commands provided by this package, read:

or refer to the installed man pages, for example:
   man git-work

BUILD

The best way to build git work is simply to fetch git://github.com/jonseymour/git into your copy of the git repo, check out its work branch and build git in the normal way. If you are happy to do this, you can ignore the following instructions which only apply to people who want to build or install a tarball with the proposed additions in order to patch existing git installations.

The instructions that follow immediately are for people that want to build their own tarball containing the git work additions. People who are happy to use a pre-built tarball may skip to the INSTALLATION section.

To build the package, you must have a working git installation and be able to build git and its documentation. You do not, however, have to install git as part of this process.

Obtain the source:

   git clone git://github.com/jonseymour/gitwork
   cd gitwork

Make the tarball:

   git clone git://github.com/jonseymour/gitwork
   cd gitwork
   sh ./installer make-tar

This command will use git's make command to build the git documentation but will not attempt to install git itself.

INSTALLATION

To install the package you need a working git installation that you have the permission to update, a unix shell and tar and a copy of the git-work tarball that you built yourself or obtained from the download location.

If you have just built the tarball, you can simply change into the build/gitwork-vX.X.X directory, otherwise unpack the tarball as follows:

    gzip -dc gitwork-vX.X.X.tar.gz | tar -xvf -
    cd gitwork-vX.X.X

Once you are in the root directory of the untar'd package, run:

    sh ./installer install

This command will update the version of git found in git --exec-path.

To install the documentation, run:

    sh ./installer install-man

This command will install the man pages into $(git --exec-path)/../../share/man/man1.

Note that the installer does not modify any files of the existing git installation - it simply adds new files. One consequence of this is that the git config documentation is not updated. To see the proposed updated, please refer to the description of branch.<name>.baseresetoptions in git-config(1).

UPDATING

If you ever need to update your version of gitwork, change to the root of your clone and run:

   git fetch origin
   git checkout -f origin/master # or choose the tag you want to build
   git submodule update

then re-run the BUILD procedure.

UNINSTALL

If you need to uninstall gitwork, run the following command:

    sh ./installer uninstall

RATIONALE

At this stage the git work and git base commands are proposed for inclusion into git, however, there is no guarantee that the proposal will be accepted. The objective of this package is to allow people to experiment with the proposed commands while the proposal is being evaluated.

gitwork's People

Contributors

jonseymour avatar

Watchers

 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.