Screencast: Using Git on Windows
A free screencast showing you the basics of installing und using git on windows.
Cinematic Trailer
Plot
-
Downloading msysGit
- Downloading msysGit
- Saving the file to the Desktop
-
Installing msysGit
- Starting the installer
- Explanation for the core.autocrlf setting
- Additional info on the git command line options the installer offers
- Finishing the install process
-
The Cygwin Enviornment
- Opening up the "Git Bash" application
- Explanation of the underlaying cygwin technology
- Running some basic *nix commands: pwd; ls -la; git --version
-
Configuring Git
- Configuring user.name, user.email using git config
- Explanation of global vs. repository wide configuration
- Viewing the .gitconfig file that stores all global config
- Turning on color output by changing color.ui to true
-
Basic Git Workflow
- Creating a new directory for the repository using Windows Explorer
- Doing the same using mkdir and the command line
- Going into the new directory and running git init to initialize a repository
- Short exploration of the .git folder where git stores its information
- Creating a simple PHP file that outputs the current date
- Using git status to see how git sees this new file (untracked)
- Staging the file for commit using git add
- Reviewing the new repository state with git status
- Commit the file using git commit -m ""
- Running git log to view the resulting history
- Enabling copy & paste ability in git bash
- Copying the sha1 of the latest commit
- Pasting it to run git log <sha1> which shows the full commit + patch
- Modifying the PHP file again
- git status shows we modified the file
- Staging the change for commit using git add again
- Commiting the change with git commit -m ""
- Reviewing the final history with git log
Specification
| Narrator: | Felix Geisendörfer |
|---|---|
| Duration: | 17:29 min |
| Resolution | 800x600 px |
| Format: | Quicktime (.mov) inside a Zip Archive (.zip) |
| Download Size: | 86.58 MB |