Git – Lecture 0 – CS50's Web Programming with Python and JavaScript




00:00:00 – Introduction
00:07:41 – git
00:11:00 – GitHub
00:12:31 – git clone
00:15:06 – git add
00:16:01 – git commit
00:17:40 – git status
00:18:42 – git push
00:20:01 – git pull
00:22:53 – Merge Conflicts
00:27:19 – git log
00:27:54 – git reset
00:35:44 – hello.html
00:41:46 – headings.html
00:43:47 – lists.html
00:46:29 – image0.html
00:49:41 – image1.html
00:53:46 – table.html
00:56:31 – form.html
00:59:04 – DOM
01:00:35 – CSS
01:02:04 – style0.html
01:07:40 – style1.html
01:11:51 – style2.html
01:14:45 – size.html
01:18:08 – font.html
01:20:30 – border.html
01:21:55 – Styling table.html
01:29:20 – div_span.html
01:39:48 – GitHub Pages

Original source


44 responses to “Git – Lecture 0 – CS50's Web Programming with Python and JavaScript”

  1. Even though I am familiar with HTML and CSS, the one thing that has made me cling to this video is the questions. The questions asked are pretty good and the instructor does a great job in resolving them, thus clearing basic doubts.

  2. I have a different view: his words and sentence structure are messy and run on. His hand movements are a millennial/rapper characteristic. He has a penchant for stating the obvious, usually multiple times. ( why are margins useful?) Don’t get me wrong, I listened to the entire teaching session, but it became numbing after 20 minutes. Harvard has nothing over a community college except ridiculous tuition and quotas. Paying for a brand name.

  3. Great lecture Brian , another thing to note for anybody else is that you can create aliases within the command line that will help do these git commands a lot easier, shorthand commands essentially.

    Here is a pretty big list (although you'll thank me later) that you'll utilize as a beginner but also other commands which you'll use once you start getting into advanced git:

    alias ga='git add'
    alias gac='git commit -am'
    alias gb='git reset –soft'
    alias gba='git branch -a'
    alias gbl='git branch -l'
    alias gc='git commit -m'
    alias 'gc!'='git commit -v –amend'
    alias gca='git commit -am'
    alias gcl='git config –list'
    alias gcm='git checkout master'
    alias gco='git checkout'
    alias gcount='git shortlog -sn'
    alias gcp='git cherry-pick'
    alias gd='git diff'
    alias gf='git ls-files | grep'
    alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
    alias ggpull='git pull origin HEAD'
    alias ggpush='git push origin HEAD'
    alias gopush='git push origin master'
    alias gist='nocorrect gist'
    alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
    alias gl='git log –pretty='''format:%Cgreen%h%Creset %an – %s''' –graph'
    alias glg='git log –graph –pretty=format:"%Cred%h%Creset %C(yellow)%an%d%Creset %s %Cgreen(%cr)%Creset" –date=relative'
    alias glgg='git log –graph –max-count=5'
    alias glgga='git log –graph –decorate –all'
    alias glo='git log –oneline'
    alias globurl='noglob urlglobber '
    alias glp=_git_log_prettily
    alias gm='git merge –no-ff'
    alias gp='git push'
    alias poat='git push origin –all && git push origin –tags'
    alias gr='git remote'
    alias grh='git reset HEAD'
    alias grhh='git reset HEAD –hard'
    alias grmv='git remote rename'
    alias grrm='git remote remove'
    alias grset='git remote set-url'
    alias grt='cd $(git rev-parse –show-toplevel || echo ".")'
    alias grup='git remote update'
    alias grv='git remote -v'
    alias gsd='git svn dcommit'
    alias gsr='git svn rebase'
    alias gss='git status -s'
    # List all submodule references only
    alias gsm='git ls-files –stage | grep 160000'
    alias gst='git status'
    alias gts='git status'
    alias gup='git pull –rebase'
    alias gwc='git whatchanged -p –abbrev-commit –pretty=medium'

    Learning these aliases along with memorizing how each one works will make you a git master, and won't be as annoying fully typing out the commands when working with git.

  4. Seriously, I went to bootcamp for front end and they tough me how to use git by throwing materials and links at me to read. By far this is the best git explanation I have heard and seen, except for few minor things are not explained. Thank you.

  5. after I run the "atom ." command in git bash, I am not able to run any other command until I close the atom window.
    Please reply if anybody has faced the same problem and found solution

  6. 00:00:00 – Introduction
    00:07:41 – git
    00:11:00 – GitHub
    00:12:31 – git clone
    00:15:06 – git add
    00:16:01 – git commit
    00:17:40 – git status
    00:18:42 – git push
    00:20:01 – git pull
    00:22:53 – Merge Conflicts
    00:27:19 – git log
    00:27:54 – git reset
    00:35:44 – hello.html
    00:41:46 – headings.html
    00:43:47 – lists.html
    00:46:29 – image0.html
    00:49:41 – image1.html
    00:53:46 – table.html
    00:56:31 – form.html
    00:59:04 – DOM
    01:00:35 – CSS
    01:02:04 – style0.html
    01:07:40 – style1.html
    01:11:51 – style2.html
    01:14:45 – size.html
    01:18:08 – font.html
    01:20:30 – border.html
    01:21:55 – Styling table.html
    01:29:20 – div_span.html
    01:39:48 – GitHub Pages

Leave a Reply