Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Command Line Git
Rating: 4.5 out of 5(169 ratings)
9,160 students

Command Line Git

Git for Data Scientists and Non Developers
Created byOscar Valles
Last updated 7/2020
English
English [Auto],

What you'll learn

  • Become a productive user of git
  • How to use git through the command line
  • Understanding git commands in detail
  • git status - Current state of your local repo
  • git add - Adding your changes for tracking
  • git commit - Staging your files for upload
  • git push - Saving Files to the git server
  • .gitignore - ignore file types in git
  • Preview of Markdown Language
  • git stash and pop - Putting away files for later
  • git diff - Comparing differences between separate versions of work
  • Removing files from your git repository

Course content

3 sections38 lectures1h 33m total length
  • Introduction: Git Overview1:45

    If you are on an Apple Mac, you can try downloading a repository to test if you have git installed

    git clone https://github.com/github/gitignore.git

  • Creating a GitHub Account1:58

    In this video, you will learn to create an account on GitHub, a git software service provider.

  • Creating your first git repository1:00

    In this lecture, you will create your first git repository, through GitHub

  • Recap of GitHub Repository Creation0:24

    Create a GitHub account, initialize a repository named demo, and recognize your cloud-based GitHub repository as the foundation for your project.

  • Accessing your Account Settings in GitHub1:00
  • Generating RSA Keys1:42

    Generate an ssh key pair with ssh-keygen -t rsa, supply your email, and save private and public keys in the .ssh directory as id_rsa and id_rsa.pub.

  • Adding a Public RSA Key to GitHub1:15
  • RSA Keys Recap0:33
  • Cloning Your New Repository1:27

    Clone the repository to your computer via the terminal using the clone command. Open a terminal, select a folder, and trust the connection to reveal an empty repository.

  • Creating a README for your repository1:22

    Create a readme.md for your repository using markdown, document contents in your sandbox repo, and save it with nano or another text editor.

  • Saving your README file to GitHub1:53

    Add the readme file with git add, commit with a brief message, and push to GitHub; using period stages all files and establishes master as the main branch.

  • Previewing your saved work on GitHub1:07

    Preview your saved work on GitHub by adding, committing, and pushing changes, then verify the updated read me file in your demo repository on the GitHub server.

  • Saving your first work file to GitHub2:30

    Create a new blank file in the git repository, verify the master branch, stage and commit it, then push to GitHub to see the file on the remote.

  • Exercise 01: Modify your file and save (push) to GitHub1:23

    Edit the blank index page using a text editor, add HTML content and a title, then save and commit your changes to GitHub, and preview the directory to confirm update.

  • Solution to Exercise 010:58
  • Creating New Files and a New Branch7:43

    Create three new pages—pink, green, and peach—on the color changes branch and link them from the index, then commit, push, and open a pull request to merge into master.

  • Recap: Creating New Files and a New Branch3:13

    Create and push a repository on GitHub, add a readme and index.html to master, then create and push a color changes branch with three new files.

  • Comparing Branches (Visually)4:45

    Compare branch changes visually by switching between color changes and master, previewing the pink, peach, and green pages, and using git checkout and commits to manage versions.

  • Pull Requests and Merging3:56
  • Git Pull: Download the Latest code version2:17

Requirements

  • Computer & Internet Connection
  • Laptop / Computer

Description

This course is designed to get you proficient and comfortable with using git in under a day! You will find a focused course on where you'll dive in immediately into using git. While this is not an exhaustive course on git, it does focus on what you are likely to use 70% - 90% of the time. You will be set up for mastery and advanced usage of git if you decide to do so.

This course requirements are minimal. All you'll need is

  • a laptop

  • a GitHub Account (free btw),

In Section 1, we cover

  1. git overview - how git works

  2. git install instructions (very simple)

  3. GitHub account creation

  4. rsa key setup for security

  5. creating your first repository

  6. adding and committing files

  7. pushing / saving your files to github

  8. pull requests and merges

  9. git pull (local)

In Section 2, we become Pros!

  1. git add - add and modify files

  2. git commit - commenting your changes

  3. git push - saving to the server

  4. PRs and Merges - bringing it all together

  5. git pull - copying latest changes locally

In Section 03, is our bonus material that is of high value

  1. .gitignore

  2. markdown

  3. git stash and git pop

  4. git diff

  5. removing / deleting files from GitHub

And the best thing of all, this course can be completed in a day, and you can gain proficiency over a weekend! It's that quick and easy!

Who this course is for:

  • Data Scientists
  • Business Analysts
  • Data Analysts
  • Developers
  • Programmers