diff --git a/index.html b/index.html index b93ead9..2e95c73 100644 --- a/index.html +++ b/index.html @@ -38,7 +38,7 @@ layout: reference
Let's start from scratch. Assume you are designing a new source - code management system. How do you do basic version control before + code management system. How did you do basic version control before you used a tool for it? Chances are that you simply copied your project directory to save what it looked like at that point.
diff --git a/remotes/index.html b/remotes/index.html index 394874c..f23b1c4 100644 --- a/remotes/index.html +++ b/remotes/index.html @@ -194,7 +194,7 @@ github git@github.com:schacon/hw.git (push) that is tracked by whatever branch you are currently in. I personally don't much like this command - I prefer runningfetch
and merge
seperately. Less magic, less problems. However, if you like this idea, you
- can read about it in more detail in the.
+ can read about it in more detail in the
official docs.
@@ -280,7 +280,7 @@ To git@github.com:schacon/hw.git
Pretty easy. Now if someone clones that repository they will get exactly - what I have committed and all of it's history.
+ what I have committed and all of its history.What if I have a topic branch like the 'erlang' branch we created earlier and I just want to share that? You can just push that branch instead. @@ -296,7 +296,7 @@ To git@github.com:schacon/hw.git * [new branch] erlang -> erlang -
Now when people clone or fetch from that repository, they'll get a 'erlang' +
Now when people clone or fetch from that repository, they'll get an 'erlang'
branch they can look at and merge from. You can push any branch to any
remote repository that you have write access to in this way. If your branch
is already on the server, it will try to update it, if it is not, Git will
@@ -307,7 +307,7 @@ To git@github.com:schacon/hw.git
at the same time, you both do commits, then she pushes and then you try to
push, Git will by default not allow you to overwrite her changes. Instead,
it basically runs git log
on the branch you're trying to push and
- makes sure it can see the current tip of the servers branch in your pushes
+ makes sure it can see the current tip of the server's branch in your push's
history. If it can't see what is on the server in your history, it concludes
that you are out of date and will reject your push. You will rightly have to
fetch, merge then push again - which makes sure you take her changes into