From 0ae4504705555e6159391424020debfebfadf651 Mon Sep 17 00:00:00 2001 From: Stan Varlamov Date: Wed, 2 Jan 2019 11:24:17 +0800 Subject: [PATCH] win subsystem linux and git filesys --- .../05_Installing Local Docker/index.md | 4 ++++ .../01_Docker-Based Dev Environment/06_What is Git/index.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/00_A$AP Learn/01_Docker-Based Dev Environment/05_Installing Local Docker/index.md b/00_A$AP Learn/01_Docker-Based Dev Environment/05_Installing Local Docker/index.md index 6940784..b37cc5d 100644 --- a/00_A$AP Learn/01_Docker-Based Dev Environment/05_Installing Local Docker/index.md +++ b/00_A$AP Learn/01_Docker-Based Dev Environment/05_Installing Local Docker/index.md @@ -5,5 +5,9 @@ Docker should come pre-installed on every machine. Remember the controversy of p Check the [Docker Website](docker.com) for the latest installation instructions. As the minimum, install Docker Community Edition Engine and Docker Compose. Keep in mind that Docker by itself takes up some machine resources, so on a 4GB (bare minimum) laptop you probably should avoid running extra docker software other than the engine daemon. On Linux, for convenience, configure non-root access to Docker CLI. + +### Installing On Windows Subsystem For Linux + +On Windows, you may run [Windows Subsystem For Linux](https://docs.microsoft.com/en-us/windows/wsl/about) and install Docker. This configuration and its installation details are not in scope of the course.
Next, making sure the Git skill is at the required professional level. Those who can't Git simply can't be called developers these days. \ No newline at end of file diff --git a/00_A$AP Learn/01_Docker-Based Dev Environment/06_What is Git/index.md b/00_A$AP Learn/01_Docker-Based Dev Environment/06_What is Git/index.md index e0731cf..60643f4 100644 --- a/00_A$AP Learn/01_Docker-Based Dev Environment/06_What is Git/index.md +++ b/00_A$AP Learn/01_Docker-Based Dev Environment/06_What is Git/index.md @@ -34,5 +34,9 @@ Git may be a fulltime job for a team lead to perform, but in the day-to-day deve For the everyday work, you do `git add`, `git pull`, `git commit`, `git push` when you're ready to send your code to the remote. Run `git reset HEAD --hard` when all you've done was tweaked the local code to test something and want to get rid of the tweaks. When you get a chance, take our ["Git and GitHub" ExlSkills Free Course](https://exlskills.com/learn-en/courses/learn-essential-git-for-github-with-exlskills-intro_github)! You've got to get comfortable with Git if you want to be a developer these days, no questions asked. + +### Git and File Timestamp + +One mind-blowing thing about Git for a legacy developer is that Git *ignores* file timestamps. First thing you notice when you *clone* a repo locally - everything that comes into your machine is assigned the *now* timestamp. So, from the local filesystem's point of view, you can't see when each particular file was actually last updated. Likewise, you may edit a file and save it multiple times, yet it won't show in `git status` as updated unless the current *content* of the file is different from the cloned one. So - Git *drops* and *ignores* local file timestamps. Understand and get used to it. The *updates* in Git are traced by *commit* times. And that can get confusing if there were *merges*.
Next, we'll get the IDE installed