Skip to content

Commit

Permalink
Added push target to Makefile
Browse files Browse the repository at this point in the history
Minor edits and corrections
  • Loading branch information
Ben Lynn authored and Ben Lynn committed Sep 11, 2007
1 parent 1db41d7 commit a11398a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: target clean sync
.PHONY: target clean sync push

target: book

Expand Down Expand Up @@ -27,5 +27,8 @@ book.pdf: book.xml
clean:
-rm -rf book.xml book.html book

push:
git-push blynn@git.or.cz:srv/git/gitmagic.git

sync: target
rsync -r book/* blynn@tl1.stanford.edu:www/gitmagic/
2 changes: 1 addition & 1 deletion intro.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ But this will overwrite the old version. It's like those old school games which

== Version Control ==

When editing, you can "Save As..." a different file, or copy the file somewhere first before saving if you want to savour old versions. Maybe compress them too to save space. This is version control, but very primitive and labour-intensive.Computer games improved on this out long ago, many of them allowing multiple automatically timestamped save slots.
When editing, you can "Save As..." a different file, or copy the file somewhere first before saving if you want to savour old versions. Maybe compress them too to save space. This is version control, but very primitive and labour-intensive. Computer games improved on this long ago, many of them allowing multiple automatically timestamped save slots.

Let's make the problem slightly tougher now. Say you have a bunch of files that go together, such as collection of source code for the same project, or files for a website. Now if you want to keep an old version you have to archive a whole directory of stuff. Keeping many versions around is inconvenient to do by hand, and gets expensive fast.

Expand Down
8 changes: 7 additions & 1 deletion preface.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h2>References</h2>
<a href="http://subversion.tigris.org/subversion-linus.html">Subversion vs itself</a>: in response to its defence of Subversion's limitations, I claim Git is right for <i>every</i> project. I also claim where there is more than one programmer, there is decentralized development.
</p>
<p>
Saying you should use systems that don't scale well when your project is small is like saying you should use Roman numerals for calculations involving small numbers.
Saying you should use systems that don't scale well when your project is tiny is like saying you should use Roman numerals for calculations involving small numbers.
</p>
</li>
<li>
Expand Down Expand Up @@ -72,3 +72,9 @@ <h2>References</h2>
<a href="http://polywww.in2p3.fr/~gaycken/Calice/Software/my_git_workflow.html">Advanced Git work flow</a> described by Götz Gaycken.
</li>
</ul>
<h2>Free Git Hosting</h2>
<p>
This guide is hosted by Git at <a href="http://repo.or.cz/">repo.or.cz</a>,
who provide free Git hosting for free projects.
See <a href="http://repo.or.cz/w/gitmagic.git">the Git-web summary of this guide</a>.
</p>

0 comments on commit a11398a

Please sign in to comment.