Coder Social home page Coder Social logo

christianmlong / git-info Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gitbits/git-info

0.0 1.0 0.0 123 KB

git-info is a git subcommand that shows information about a Git repository a la `svn info'

License: BSD 2-Clause "Simplified" License

git-info's Introduction

git-info and friends

Synopsis

  • git-info - shows information about a Git repository a la `svn info'
  • git-editor - invokes the editor that Git would pick
  • git-pager - invokes the pager that Git would pick

How to set up

Just place these scripts in one of the directories in your PATH, and you are done.

How to use

git info
git info ~/src/somewhere/somefile
git info some/relative/file_or_directory
git info ~/repos/something.git

Sample output

% git info
Repository Path: /home/knu/src/github/git-info/.git
Path: /home/knu/src/github/git-info
Remote Repositories:
	origin	[email protected]:knu/git-info.git (fetch)
	origin	[email protected]:knu/git-info.git (push)
Remote Branches:
	origin/HEAD -> origin/master
	origin/master
Local Branches:
	* master
Repository Configuration:
	[core]
		repositoryformatversion = 0
		filemode = true
		bare = false
		logallrefupdates = true
	[remote "origin"]
		fetch = +refs/heads/*:refs/remotes/origin/*
		url = [email protected]:knu/git-info.git
	[branch "master"]
		remote = origin
		merge = refs/heads/master
Last Changed Commit ID: da32fa59f7fab84606ce3c144e636043e96d8063
Last Changed Author: Akinori MUSHA <[email protected]>
Last Changed Date: Tue Jul 28 10:37:09 2009 +0900
Last Changed Log:
	Take the directory as a physical path.

Author

Copyright (c) 2009, 2012 Akinori MUSHA.

Licensed under the 2-clause BSD license. See LICENSE.txt for further details.

git-info's People

Contributors

knu avatar tadanagao 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.