Work is sending me to a conference that just happens to be hosted in Las Vegas, a city where there are a few casinos. I’m not much for gambling, so I figured I should learn a little about it before I even think of doing such a thing. I read that craps is a fun game that has some pretty safe bets, so I decided to learn more about that. To that end, I wrote a craps simulator.Continue reading “So I Wrote A Craps Simulator”
In the last post, I talked about how to create a Git repository and upload it to GitHub. In this post, I’m going to talk about how to resolve Git conflicts.
Setting Up Our Environment
First, we’re going to create a Git Repository for the user Doug. Since I already covered that in the last post, I’m bring to breeze through those steps below:
$ mkdir doug $ cd doug $ git init Initialized empty Git repository in /path/to/doug/.git/ $ touch README.md $ git add README.md $ git commit -m "First commit" [master (root-commit) d86a7e2] First commit 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 README.md
At this point, we have a repository created for the user Doug. Now I’m going to clone that repository for the user Andrew: