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”
Wow, never imagined learning could be so much fun and also free! Thank you David, Brian and Harvard for these amazing and delicious lectures.
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.
Amazing. Thank you.
That's a good course. Thank You!
Great job.
I love CS50❤️
This tutorials are so amazing !!! Loved it !!
awesome! thanks for interactive training
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.
Too fast..
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.
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.
what is the command to open notepad++ from git bash? Thanks
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
i guess it must be "content" instead of "[INAUDIBLE]" at 1:20:44 in subtitles
Is there an updated course URL?
What is that black shell at 13:13 ? That's not python is it? What program is that and how do I open that black window?
thanks cs50
Just hoping that i will complete the course. lol. i just startd
He is david j malan the 2nd
Great Lecture to learn Git Thanks CS50.
great stuff. thank you cs50
Very good lecture 👏 Brian’s also a very good speaker. I would’ve said many likes and ums 😆
great question!
can any one tell me the end date of the course and how much time do I have left to verify?
I owe a lot to CS50. Took their beginner's course to learn the fundamentals and now as i was starting web development, they released this course. Thank you so much.
I don’t know any js
hey guys i have a problem here……i've trying to run the GIT commands using GIT bash and they run at all……may i ask with which command will Git commands run?
which atom theme is it?
can i get a work after finish the course . ! 13 Videos .
Excellent Lecture!!
Brian is my man.
I just love it. Mr. JM Thank you.
x 1.5
Love it. Lot to learn…..
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
1:40:00 cool trick man !
forget to speak about :
git config –global user.email "you@example.com"
git config –global user.name "Your Name"
IQ 999999
I found a problem on push command ———Owner@Owner-PC MINGW64 ~/1 (master)
$ git push
error: src refspec refs/heads/master does not match any.
error: failed to push some refs to 'https://github.com/pradyumn11/1.git'
has anyone noticed that he try to copy David , especially talking pace and gestures 😀
in Merge Conflicts, my text editor Atom didn't turn in to that colourfull formate, as it is as before nothing changed? is there any package or anything ..?
what is that beauitful music in the beginning
how to open atom from gitbash in windows ?. "atom . " didn't work for me.