25 Feb 2017 • eugene
To make things easier when working with Windows, we need to make sure our workspace
folder (directory) is in your Windows Documents
folder.
$ ls
workspace
folder is listed.$ mv workspace Documents
From now on, repeat this step at the start of every dojo. By using this method, you can use any laptop from week-to-week and not lose any of your work. It's how professional developers (programmers) work with their code. So why not us!
$ cd
(make sure we're in the home directory)$ cd Documents/workspace/dojo2017q1
$ git checkout master
$ git pull
$ git checkout elvis
(replace elvis
with your branch name)master
branch.$ git merge master
:wq
[enter]
. If the letters don't appear at the bottom of the screen as you type them, press the [esc]
key, then try again.This week, we are moving-on to Card 2 of the My First Website kata. Get a physical copy from your mentor. Optionally, you can check out the copy in your repository named My_first_website.pdf
or download it here.
From now on, repeat this step at the end of every dojo. This will save all of your work on the server.
$ cd
(make sure we're in the home directory)$ cd Documents/workspace/dojo2017q1
git status
git add --all
git status
(notice that your files are staged, in-green)git commit -m 'Finished card 3 today!'
(replace message in quotes with your own)elvis
with your branch name): git push origin elvis