Git

  • Installation and Configuration
    • Install Git
    • Verify Git is installed
    • View the current Git configurations
    • Configure a username
    • Configure an email address
    • Configure a text editor
    • View the current Git configurations
    • View the Git config file
  • Repositories
    • Create a directory for repository
    • Create an empty repository
    • View the contents of the “empty” repository
    • Create a test file
    • View Git status
    • Configure the file to be tracked
    • Create an empty file
    • View Git status
    • Execute a commit with a message
    • View Git status
    • Edit the test file
    • View Git status
    • Configure the entire working directory to be tracked
    • View Git status
    • Execute a commit without a message
    • Enter the message for the commit
    • View the Git log
    • Delete the empty file (via Git to no longer be tracked)
    • View Git status
    • Execute a commit
    • Delete the test file (via the file system)
    • View Git status
    • Restore the test file from snapshot
  • Gitignore
    • Create a .jpg file
    • View Git status
    • Create .gitignore file
    • Configure .gitignore to ignore .jpg files
    • View Git status
    • Create a directory
    • Create two files in the directory
    • View the files in the directory
    • Configure .gitignore to ignore the directory
    • View Git status
    • Configure .gitignore to acknowledge the directory
    • View Git status
  • Cloning Repositories
    • Clone the repository using the file system
    • View the contents of the cloned repository
    • View the git log
    • Add a new file to the cloned repository
    • Add the file to be tracked
    • Execute a commit
    • View the git log
    • Review the log of the original repository
    • Clone from GitHub using HTTPS
    • View the content of the cloned repository
    • View the git log
    • Edit a file
    • View the git status
    • Execute a commit
    • View the git log
    • View the git configuration of the cloned repository
    • Push the changes to the origin master
  • Git Logging
    • View the git log
    • View the abbreviated log
    • View the detailed log
    • View the log of an individual file
    • View the abbreviated log of an individual file
    • View the git log as a graph
  • Branches
    • Create a branch
    • Switch to the new branch
    • Verify you are on the new branch
    • Create a new directory and files
    • Configure the files to be tracked
    • View the git status
    • Execute a commit
    • View the git status (verify it is clean)
    • View the files in the new directory
    • Switch to the master branch
    • List directories and files (new directory is missing)
    • Create a branch
    • Switch to the new branch
    • Create a new file
    • Configure the file to be tracked
    • Execute a commit
    • View the git status (verify it is clean)
    • Switch to the master branch
  • Push and Merge
    • Clone repository
    • Switch to the new branch
    • View the abbreviated log
    • Add new file
    • Configure new file to be tracked
    • Execute a commit
    • View the git config (origin repository)
    • Push the changes
    • Switch to the original repository
    • Switch to the branch
    • View the branch (verify the files)
    • Switch to the master branch
    • Merge the branch to the master
    • View the branch (verify the files)