GithubHelp home page GithubHelp logo

gitbook's Introduction

== The Community Git Book ==

This is an attempt to make a comprehensive, easy to follow Git learning
resource to be hosted on the main Git website.

== Contributing ==

* Clone this source, add to it and send me ([email protected]) a patch or pull request
* Install required gems:
    $ gem install rake ultraviolet discount rdiscount builder
* For PDF output install prince (http://www.princexml.com/download/)
* Generate book through
    $ rake html
  or
    $ rake pdf

== References ==

* A bunch of the scripts for building and such from the Rails 2.1 book by Carlos Brando

== Authors ==

* Scott Chacon
* Emil Sit

gitbook's People

Contributors

charlieok avatar djalmaoliveira avatar dougbarth avatar hartwork avatar paulp avatar pieter avatar schacon avatar sit avatar tjkirch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gitbook's Issues

Using git with a subversion repository

There are (at least) two different cases where you might use git-svn. One is if you have a project currently stored in an svn repository, and you want to stop using that one, and switch to a git repository (e.g. You decided you hate sourceforge and love github). If you're trying to do this, the gitbook already does a pretty good job of telling you what you need to know.

The second is where you are going to continue hosting the project in an svn repository (for example, because it's for work, and your company is committed* to sticking with svn), but you want to use git locally. This second case is not covered well by the gitbook right now.

The following are some pages that I've found useful in this second case, so maybe, if we get the authors' permission, the information there could be brought into the gitbook.

* pun intended

TOC in pdf export

Hi,

The pdf export version doesn't contain table of content, very useful once printed.

Possible adjustment to intro diagram

I am brand new to git, and was pleased to find that the documentation explains concepts instead of only giving examples. I am confident that I can become much less of a newbie quickly.

One thing confused me -- the diagram on http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository shows that "add" moves something to an "unmodified" state. But it is clear from the text (and the add detailed documentation) that "add", whether of a new file or a modified file, moves a file to the "staged" state. I think the diagram might be changed to reflect this.

Based on my reading so far, I gather that, if I create a file in the working directory, it would start out as "untracked"; if I then use the "add" command on that file, it becomes "staged".

I might make an attempt at a new diagram, but I'm not confident enough that I am correct about this. Can someone confirm?

Incorrect usage of 'size' and 'N' in PackFile figure (?)

In the chapter "The PackFile", the first figure for version 2 index files introduces the variable 'size' as amount of entries. When describing the blocks for sha and crc values, the last entry in the block is referred to as sha1[size] and crc[size] respectively.
I believe it would be better to call it sha1[size-1] and crc[size-1] as the array indices start counting at 0.
The same issue can be found when the variable 'N' refers to the amount of objects at a pack offset larger than 2^32 -1 bits, where the last entry of 64 bit offsets is referred to as 64b_offset[N], which should be 64b_offset[N-1] as the array indices start at 0.

Clean up the Network

Hey Scott,

It'd be nice if you or someone took a weekend to clean up the Git Network. I was going to fork this repo, but I like to look at the network tab (https://github.com/schacon/gitbook/network) before doing that... and didn't know which repo to fork. It's pretty hairy.

It'd be nice if you could merge all the other branches into your own and then make a commit (if necessary to make some other tweaks to that person's contributions) after each merge. That way, all the other branches disappear (because your branch now has all their commits), and it becomes more clear that I should just fork your repo.

The general strategy I've adopted is just to merge all pull-requests ASAP (even if there's things I would change about them and don't have time to make an extra "enhancement" commit after the merge) so that everyone's working on the same code base. Not sure if that's good practice... but yeah...

Matt

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.