blynn / gitmagic Goto Github PK
View Code? Open in Web Editor NEWA guide to using Git
Home Page: http://cs.stanford.edu/~blynn/gitmagic/
License: GNU General Public License v3.0
A guide to using Git
Home Page: http://cs.stanford.edu/~blynn/gitmagic/
License: GNU General Public License v3.0
As I was reading your book, it wasn't immediately clear what the difference between git-rebase
's edit
and reword
commands are. A quick Google gave me an answer, so I'll submit a PR on this issue.
Thanks for your guide, by the way, I find it much easier to understand than most of the content out there on this subject.
Since there is not too many git cache related guidance out there, still looking further to those instructions
Is the file GPLv3 only
or
GPLv3 or any later version?
I tried building it on Mac OS X 10.7 (Lion, 64-bit Intel) and found the following error:
Writing index.html for book
sed -i 's/xmlns:fo[^ ]*//g' book-en/*.html
sed: 1: "book-en/apa.html": undefined label 'ook-en/apa.html'
make: *** [book-en] Error 1
It's a googd idea to add another repo containing generated PDF
it seems that the option --latex-engine
is no longer valid for pandoc 2.2.1 (debian sid)
Workaround: replace --latex-engine
with --pdf-engine
Many thanks to all people working on this document.
Kind regards
index fe25ef2..286e026 100644
--- a/Makefile
+++ b/Makefile
@@ -60,22 +60,22 @@ $(foreach l,$(LANGS),book-$(l).html): book-%.html: book-%.xml
pandoc -s -f docbook -t html5 -o $@ $^
$(foreach l,$(LANGS),book-$(l).pdf): book-%.pdf: book-%.xml
- pandoc -s -f docbook -o $@ --latex-engine xelatex $^
+ pandoc -s -f docbook -o $@ --pdf-engine=xelatex $^
book-ru.pdf: book-ru.xml
- pandoc -s -f docbook -o $@ --latex-engine xelatex -V mainfont='DejaVuSansMono' $^
+ pandoc -s -f docbook -o $@ --pdf-engine xelatex -V mainfont='DejaVuSansMono' $^
book-uk.pdf: book-uk.xml
- pandoc -s -f docbook -o $@ --latex-engine xelatex -V mainfont='DejaVuSansMono' $^
+ pandoc -s -f docbook -o $@ --pdf-engine xelatex -V mainfont='DejaVuSansMono' $^
book-ko.pdf: book-ko.xml
- pandoc -s -f docbook -o $@ --latex-engine xelatex -V CJKmainfont='WenQuanYi Micro Hei Mono' $^
+ pandoc -s -f docbook -o $@ --pdf-engine xelatex -V CJKmainfont='WenQuanYi Micro Hei Mono' $^
book-zh_cn.pdf: book-zh_cn.xml
- pandoc -s -f docbook -o $@ --latex-engine xelatex -V CJKmainfont='WenQuanYi Micro Hei Mono' $^
+ pandoc -s -f docbook -o $@ --pdf-engine xelatex -V CJKmainfont='WenQuanYi Micro Hei Mono' $^
book-zh_tw.pdf: book-zh_tw.xml
- pandoc -s -f docbook -o $@ --latex-engine xelatex -V CJKmainfont='WenQuanYi Micro Hei Mono' $^
+ pandoc -s -f docbook -o $@ --pdf-engine xelatex -V CJKmainfont='WenQuanYi Micro Hei Mono' $^
$(foreach l,$(LANGS),book-$(l).epub): book-%.epub: book-%.xml
pandoc -s -f docbook -o $@ $^
At the end of chapter 2, there is a small "exercise" showing a few different ways that git can be used to solve a problem. It would be great to have one or two of these in each chapter.
I don't think the "Quick Fixes" section in Chapter 4 (branch.txt) is quite right. git checkout -b
creates a new branch, so fixes
is a brand new branch that didn't exist before, and presumably doesn't exist in the remote repository either. So when we do a git push
, it won't push changes from that branch, it will only push from master
or any other branches that were set up as "tracking branches." For the same reason, the git pull
at the end of that section won't work.
Am I missing something or is this a mistake?
from what I understand, asciidoc also has ePUB support - would that be something that could be implemented here?
thanks!
Line 66 in 31deb51
What's the point of resetting to the last commit?
Hello.
Today I have pulled gitmagic repo and trying to build it with make. It fails with:
mkdir -p book-en
rsync book.css book-en/default.css
xmlto -m custom-nochunks.xsl html-nochunks book-en.xml
xmlto: /home/mitya/doc/gitmagic/book-en.xml does not validate (status 1)
xmlto: Fix document syntax or use --skip-validation option
/home/mitya/doc/gitmagic/book-en.xml:1: parser error : Document is empty
^
/home/mitya/doc/gitmagic/book-en.xml:1: parser error : Start tag expected, '<' not found
^
make: *** [book-en.html] Error 11
I am running Ubuntu 12.04.1 LTS with xmlto version 0.0.25
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.