Sometimes when I get angry and frustrated about things not working concerning programming and computer staff I watch a video from Daniel. Even when I already know (or think to know) 80% of the stuff he's talking about- it makes me happy again. His presentation and spirit is just wonderful and gets you back in the flow of doing cool things.
You are the reason why they say being able to explain concepts is the true test to your knowledge. I have seen dozens of tutorials on YT on git and they all talk like they are experts and assume everyone is an expert which just makes learning harder. Your explanations are great, cannot thank you enough!
Been struggling to see the why and how of Git for a few years now and you made it all make sense. Thanks! Also, my wife was watching over my shoulder and compliments you on your clarity. :)
Your tutorials made me go from barely understanding git to actually feeling somewhat confident in my ability to use git now for my projects... and I've only known about git for like three weeks! Thankyou thankyou thankyou..... You really walk the user through every little working piece of this great puzzle, and now I actually have functional skills that I can use...
I remember learning GitHub at uni and being so confused and dumbfounded at it, and it always seemed so bloody BORING so I avoided it for ages. Now after graduating, I realised I should probably try and learn it so started watching these and oh my now GitHub is the best thing ever! After watching this, I now find GitHub so fun and interesting! I've always said that the best teacher is one who can make any subject, no matter how dull/boring it might seem initially, into something exciting, fun and interesting. This is why you're an amazing teacher Daniel, thank you so much!
You're a wonderful teacher. Git was a maze that looked complicated as heck. You made it accessible to me. I finally understand "git push origin master". Previously the words origin and master were confusing. Now it makes sense. Thank you!
man, i just discovered you by mistake yesterday (via a youtube suggestion for snake game challenge), and watched couple of videos, for eg: all previous git poem videos) and i like your charisma, silliness and your teaching style :D. well done!
I just love your enthusiastic and engaging style. And you don't mind showing when things go wrong - it is bound to happen, and I find I learn from these too. Thank you.
"Messy whiteboard makes me very uncomfortable, but I think life will go on." Honestly, I had to stop here for few minutes to laugh. I love your lectures. Best part is that they are un-edited, like in real life, improvised and natural. Keep it up!
I've been searching for a video for 2 days. This guy broke it down to me in 12 minutes. Other videos, imo, make the assumption that you're familiar with git bash and navigating the files. He broke it down from start to finish. Thank you for your humor and your ability to simplify this!
Thank you. Perhaps the most clearest explanation of this I’ve seen. Always been so confused by git and commands but you made me understand this so well.
Thank you very much for this video, I have been trying to push files from my system onto github and watched other videos but some how ended up having to force a push onto github but this video showed where you could fall out when trying to push your files and it worked perfectly for me this time. Thanks again
Awesome. I got my repo full of processing sketches working thanks to these tutorials. This is very useful even if they're small projects, because it allows for users watching my livestream to try out my code on their end, so we can collaborate and exchange ideas. Thanks, once again, for all the work you do Daniel!
Daniel is surely the best teacher when it comes to explaining Anything, most teachers would prepare their lessons and it would still be shit, while Daniel's lesson is 💯
1:47 I.. I didn't know you can drag and drop a folder into terminal to put it's path... this is literally game changer tip... Thank you, this tutorial helped me a lot !!! Even if it's 4 years old.
This is really funny stuff: but it helps! What I like most: that it is for poets! Well, I will not store poems on Github, but I am not a developer either. Good presentation!
Just to clarify. git status will not go to the remote to compare with your local repository. That's why changes on the remote will not be mentioned if you do git status. It only compares your local master with the downloaded local origin/master of the last pull or fetch. git fetch downloads the orgin/master locally without merging. git pull downloads the orgin/master locally and merges it with your local master.
Thanks for clarifying the difference between pull and merge. Is it possible to use "git status" to compare two branches of the same repo in the local machine? Another question is that in github, I can fork my repo, or somebody else's repo. From a perspective of a local machine, a forked repo and a master repo are two different repos? Then I could clone both to my local machine, do changes to them, save&commit them and then I could merge those changes before I push them to remote?
This guy is goofier than a shithouse rat....but!...this little git tutorial has been a very clear and concise piece of work and I credit it with carrying me through this difficult leg of my coding journey. Mr Shiffman you're an impressive teacher. Thanks for this very excellent series. You've won me over I'll see what else you've got to teach!
I’m self taught (iOS) and I don’t have anyone to collaborate/build a project with nor anyone to show me how to use git. I’ve only used git when necessary when dealing with heroku but outside of that I still save my files on an external hd (I know its stupidity). I’ve tried other tutorials on how to use git (which I’ve learned the basics) but nothing really explains how to use git and github in conjunction with each other very well. This video series best explains how to get your project up there. Now my stuff is safely in the cloud. Thanks Daniel! One thing to note. If your pushing up an existing project and it has large files you will get error that says: remote: error: Large files detected ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'github.com/yourUsername/yourGitReoName.git remote: warning: File some/large/file remote: error: File another/large/file Following his tutorial definitely works up until this error occurs. I thought my projects still got pushed up excluding those files but they didn’t -the entire push was rejected. If you have that issue to fix the problem follow this SO answer, it 100% works (for the last command make sure to push to: git push -u origin master) stackoverflow.com/a/33363083/4833705 But of course Daniel’s system works outside of the large file problem.
If it doesn't ask you for a login/password when pushing to GitHub, it probably means that your Github repo is public. It's not a private repository. It only ask for credentials if the repo is private.
Hi quick Q here. how does your mac local terminal command line know which website and account and repo to check in? in what stage established the link? Thank you.
Hey, from a 1 to 10, how interested would you be on traveling and coming to my University in Colombia to give a few conferences on programming with processing? btw, we have like 4 classes that mainly use the processing core for pretty much everything
Great tutorial! But whenever I do the push command to the main branch of my repo, it shows this, error: failed to push some refs to '' What do I do now? I'm not able to push my local repo to GitHub. Please help.
can you tell me please how to deal with if i create a README in remote ? after creating README in remote if i want to push my files from local repo ... its showing an error ! its telling me to first pull all files from remote to local repo, then push them all togeather ??????
Most times I have to deal with Linux and its ilk, I just want to take the computer out back and give it the full Office Space treatment. Good to know I'm not the only one being genuinely surprised when it actually works for no reason (as opposed to failing miserably for no apparent reason which seems to be the default position). Begs the question though. A machinist working at lathe will not spend his morning assembly the lathe, spend three hours reading forum post because the receptacle company decided to deprecate their sockets and now the plugs no longer work, or adjusting settings that were perfectly fine the day before. Yet, in software, sure why not?
Why do you want to create a second git? Git keep track of all changes. Having a second git, even if it is allowed (idk), it will be keeping track of the same changes. Now, how do you envision these two git files being different? The whole concept of git is that you can modify, keep track of community changes, push, pull. What you want to do is to commit the changes and then make sure your local repo is update by pushing constantly to your origin and pulling constantly as well to keep track of changes by any of your mates. Something that Daniel didn't mention in his videos is the importance of pushing/pulling constantly in order to: keep track of changes in an orderly manner and resolve conflicts quickly. It is way way better to do 10 pushes of small changes instead of one single push of a big change. I don't know if Dan keeps track of all these posts. You are better off asking in a forum like forum.processing.org or in stackoverflow.
ugh, when i enter "git status" all i get is this: "git" is not recognized as an internal or external command, executable program or batch file. and no mattter what i enter, this is the message i receive...
Ok I try to do this all night last night and prompt me to put my username and password but ones I put it on it says is invalid, I try to do the token thing and still doesn't let me what can I do some one pls help
"git clone github-weblink-to-your-branch.git" will create a directory in your current directory and download the content of your hit to that directory. Based on the link, it can be any branch.
I'm getting an error of the form git push -u origin master error: src refspec master does not match any error: failed to push some refs to 'github.com/username/Sampl-Init.git' git push fatal: The current branch master has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin master C:\Users\user\Dropbox\GitHub\sample-init>git push --set-upstream origin master error: src refspec master does not match any error: failed to push some refs to 'github.com/user/Sampl-Init.git'
Sometimes when I get angry and frustrated about things not working concerning programming and computer staff I watch a video from Daniel. Even when I already know (or think to know) 80% of the stuff he's talking about- it makes me happy again. His presentation and spirit is just wonderful and gets you back in the flow of doing cool things.
This comment makes me so happy.
Awesome video dude bought the GITHUB Book and your video thought me much quicker then the book.
@@TheCodingTrain Makes me happy as well.. now let's do the Rainbow Dance pleaseeee!!!
This guy is winning at life, I really hope he knows how many people he has not only taught but warmed our hearts too.
Some of us have been fortunate enough to have heard the coding train theme intro song
You are the reason why they say being able to explain concepts is the true test to your knowledge. I have seen dozens of tutorials on YT on git and they all talk like they are experts and assume everyone is an expert which just makes learning harder. Your explanations are great, cannot thank you enough!
Been struggling to see the why and how of Git for a few years now and you made it all make sense. Thanks! Also, my wife was watching over my shoulder and compliments you on your clarity. :)
haha, so glad to hear, thank you!
Your tutorials made me go from barely understanding git to actually feeling somewhat confident in my ability to use git now for my projects... and I've only known about git for like three weeks! Thankyou thankyou thankyou..... You really walk the user through every little working piece of this great puzzle, and now I actually have functional skills that I can use...
I remember learning GitHub at uni and being so confused and dumbfounded at it, and it always seemed so bloody BORING so I avoided it for ages. Now after graduating, I realised I should probably try and learn it so started watching these and oh my now GitHub is the best thing ever! After watching this, I now find GitHub so fun and interesting! I've always said that the best teacher is one who can make any subject, no matter how dull/boring it might seem initially, into something exciting, fun and interesting. This is why you're an amazing teacher Daniel, thank you so much!
You're a wonderful teacher. Git was a maze that looked complicated as heck. You made it accessible to me. I finally understand "git push origin master". Previously the words origin and master were confusing. Now it makes sense. Thank you!
man, i just discovered you by mistake yesterday (via a youtube suggestion for snake game challenge), and watched couple of videos, for eg: all previous git poem videos) and i like your charisma, silliness and your teaching style :D. well done!
paralelmind same exact story..
same here
I see the rainbow dance is recursive by definition, well played.
I tried to actually do the dance but had a stack overflow
I just love your enthusiastic and engaging style. And you don't mind showing when things go wrong - it is bound to happen, and I find I learn from these too. Thank you.
Wow this was seriously the best git tutorial Ive seen in a while
Congrats!
"Messy whiteboard makes me very uncomfortable, but I think life will go on." Honestly, I had to stop here for few minutes to laugh. I love your lectures. Best part is that they are un-edited, like in real life, improvised and natural. Keep it up!
Thank you!
and 6 years later I, Rakib Rh, was doing the same!!!!
take love!
I've been searching for a video for 2 days. This guy broke it down to me in 12 minutes. Other videos, imo, make the assumption that you're familiar with git bash and navigating the files. He broke it down from start to finish. Thank you for your humor and your ability to simplify this!
i had so much confusion with this after simply googling. This was exactly what I needed, thank you!
Yet another example of the wealth of knowledge available on the net. Thank you for posting this content!
Git and Github are not intimidating anymore. Much Love to you
Thank you. Perhaps the most clearest explanation of this I’ve seen. Always been so confused by git and commands but you made me understand this so well.
This man knows a thing about teaching! Greets and respect!
i thought i would never learn how to use Git and GitHub... until i met your videos.
Thank you very much for this video, I have been trying to push files from my system onto github and watched other videos but some how ended up having to force a push onto github but this video showed where you could fall out when trying to push your files and it worked perfectly for me this time. Thanks again
still a crazy awesome video 3 years on. chu chu mr.Shiffman chu chu.
I just love how passionate he is. There hasn't been any single boring moment in any of his videos.
Thanks for clearing up my confusions. Best Github series videos ever. Love your teaching spirit.
Thank you!
Its been a while since I have used GitHub and this helped significantly!
Keep doing a great job!
Awesome. I got my repo full of processing sketches working thanks to these tutorials. This is very useful even if they're small projects, because it allows for users watching my livestream to try out my code on their end, so we can collaborate and exchange ideas.
Thanks, once again, for all the work you do Daniel!
+Seb S I'm so glad to hear this!
I hope you are a real-life teacher. Good Job Sir
Hey Daniel, just wanna say thanks for uploading this series and explaining it so well. You've got a great teaching style!
Deserve 10 upvotes just for the rainbow dance!
Does anyone else feel guilty learning so much from him and not paying him? Take my money, Dan!
The perfect video for what I needed to refresh with my git knowledge.
Thank you so much for making these tutorials interesting and fun! I hope your teaching style serves as an example for other people as well :)
Daniel is surely the best teacher when it comes to explaining Anything, most teachers would prepare their lessons and it would still be shit, while Daniel's lesson is 💯
1:47 I.. I didn't know you can drag and drop a folder into terminal to put it's path... this is literally game changer tip... Thank you, this tutorial helped me a lot !!! Even if it's 4 years old.
This is the best git tutorial! I enjoyed and learned a lot. Thank you very much:)
You have helped me so much with your tutorials. You make it so easy to understand. Thanx a lot.
Excitement is just on another level 😁👍
THANK YOU for the thorough explanation.
This guy is like the Bob Ross of programming
This guy is the Bob Ross of dev world
You are a silly man. Great video ... fun, entertaining, conceptually informative & easy to follow :)
Absolutely amazing! I love your energy
Thank You so much sir. I really love the way you explain things, very simply and instrestling. God Bless You.
This how our network Professor should teach us . it's less abstract
This is really funny stuff: but it helps!
What I like most: that it is for poets! Well, I will not store poems on Github, but I am not a developer either. Good presentation!
Thank you!
I love how happy you make yourself haha!! Thank you, such a helpful video! :-D
You explain things very well!
it's been 4 years, but still really heplful
Just to clarify. git status will not go to the remote to compare with your local repository. That's why changes on the remote will not be mentioned if you do git status. It only compares your local master with the downloaded local origin/master of the last pull or fetch. git fetch downloads the orgin/master locally without merging. git pull downloads the orgin/master locally and merges it with your local master.
Thanks for clarifying the difference between pull and merge. Is it possible to use "git status" to compare two branches of the same repo in the local machine? Another question is that in github, I can fork my repo, or somebody else's repo. From a perspective of a local machine, a forked repo and a master repo are two different repos? Then I could clone both to my local machine, do changes to them, save&commit them and then I could merge those changes before I push them to remote?
Most clear explanation, thank u.
Man, you're a legend. Thank you for sharing your knowledge, from now on, I'm suscribed to your channel. Gonna check the other vids as well!
Thank you! You have made my day with these tutorials
Daniel, you are a blessing to the Programming community, I couldn't possibly thank you enough....more power to your elbow.
I think I'm now a professional after this tutorial. LOL
Thanks so much man!
You just proved to me that git can store non-code files. This is not silly for me!!
2022, Still the best Git Intro
I love this man, am enjoying your course thanks
you are doing god's work
This guy is goofier than a shithouse rat....but!...this little git tutorial has been a very clear and concise piece of work and I credit it with carrying me through this difficult leg of my coding journey. Mr Shiffman you're an impressive teacher. Thanks for this very excellent series. You've won me over I'll see what else you've got to teach!
Messy white boards make me uncomfortable but i think life will go on🤣🤣 amaazingg.
your videos are really awesome man.
Thank u so much. I love your videos. They are really helpful
i like this guys😃
You are the best ever , thank you for your videos !!!
I’m self taught (iOS) and I don’t have anyone to collaborate/build a project with nor anyone to show me how to use git. I’ve only used git when necessary when dealing with heroku but outside of that I still save my files on an external hd (I know its stupidity). I’ve tried other tutorials on how to use git (which I’ve learned the basics) but nothing really explains how to use git and github in conjunction with each other very well.
This video series best explains how to get your project up there. Now my stuff is safely in the cloud. Thanks Daniel!
One thing to note. If your pushing up an existing project and it has large files you will get error that says:
remote: error: Large files detected
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'github.com/yourUsername/yourGitReoName.git
remote: warning: File some/large/file
remote: error: File another/large/file
Following his tutorial definitely works up until this error occurs. I thought my projects still got pushed up excluding those files but they didn’t -the entire push was rejected.
If you have that issue to fix the problem follow this SO answer, it 100% works (for the last command make sure to push to: git push -u origin master)
stackoverflow.com/a/33363083/4833705
But of course Daniel’s system works outside of the large file problem.
your presentation help me understand more. tq so so much..
He's like the Bob Ross of programming, try to tell me I'm wrong.
Yeap! 2022 and it is still a great video!!
If it doesn't ask you for a login/password when pushing to GitHub, it probably means that your Github repo is public. It's not a private repository. It only ask for credentials if the repo is private.
Thank You So much with you Git Tutorials (RAINBOW) (POET)
I wish I found this video 5 years ago.
Thanks for the video! Can you please tell us more about the convention to use the imperative mood in the header of a commit message?
11:50 maybe another video about fetch and merge in the future? Useful for collaboration! Also a Jekyll video! Love the channel.
Yes, agreed I should do these!
thank you so much! subscribed.
Hi quick Q here. how does your mac local terminal command line know which website and account and repo to check in? in what stage established the link? Thank you.
Hey, from a 1 to 10, how interested would you be on traveling and coming to my University in Colombia to give a few conferences on programming with processing?
btw, we have like 4 classes that mainly use the processing core for pretty much everything
+Juan Jose Cuadros I'd definitely be interested! Really hard to find the time to travel these days but please feel free to be in touch!
How are you skipping the current like execution and going to next line at 6:08 and 6:32 ?
You are amazing, thank you so much. I hope if you can do java courses.
Great tutorial! But whenever I do the push command to the main branch of my repo, it shows this,
error: failed to push some refs to ''
What do I do now? I'm not able to push my local repo to GitHub. Please help.
can you tell me please how to deal with if i create a README in remote ?
after creating README in remote if i want to push my files from local repo ... its showing an error !
its telling me to first pull all files from remote to local repo, then push them all togeather ??????
What do you use for switching between recorder for greenboard to mac screen and vice versa?
so funny and easy to learn! haha LIKE
Most times I have to deal with Linux and its ilk, I just want to take the computer out back and give it the full Office Space treatment. Good to know I'm not the only one being genuinely surprised when it actually works for no reason (as opposed to failing miserably for no apparent reason which seems to be the default position). Begs the question though. A machinist working at lathe will not spend his morning assembly the lathe, spend three hours reading forum post because the receptacle company decided to deprecate their sockets and now the plugs no longer work, or adjusting settings that were perfectly fine the day before. Yet, in software, sure why not?
I just want a tenth of his happiness.
He's professional rather than ...
I am stuck in some of my exercise with online git repo. How can I get help on it ?
what happens to .git file which is created in my system locally. If its there I cannot create second git directory in same folder plz help
Why do you want to create a second git? Git keep track of all changes. Having a second git, even if it is allowed (idk), it will be keeping track of the same changes. Now, how do you envision these two git files being different? The whole concept of git is that you can modify, keep track of community changes, push, pull. What you want to do is to commit the changes and then make sure your local repo is update by pushing constantly to your origin and pulling constantly as well to keep track of changes by any of your mates. Something that Daniel didn't mention in his videos is the importance of pushing/pulling constantly in order to: keep track of changes in an orderly manner and resolve conflicts quickly. It is way way better to do 10 pushes of small changes instead of one single push of a big change.
I don't know if Dan keeps track of all these posts. You are better off asking in a forum like forum.processing.org or in stackoverflow.
ugh, when i enter "git status" all i get is this:
"git" is not recognized as an internal or external command,
executable program or batch file.
and no mattter what i enter, this is the message i receive...
you are awsome man
Ok I try to do this all night last night and prompt me to put my username and password but ones I put it on it says is invalid, I try to do the token thing and still doesn't let me what can I do some one pls help
How do you do the same with ssh?
What if i make a branch on the Github ,how can I pull it back to my laptop.
"git clone github-weblink-to-your-branch.git" will create a directory in your current directory and download the content of your hit to that directory. Based on the link, it can be any branch.
git push -u origin master
why is this there..?
what does mean of this ?
thanks
If I am updating 2 files at a time, but want to commit only 1. How could I give that commit
but what's the advantage of using CLI over GUI for using github?
when you dont have gui, it works :)
Thank you man
Are there other remotes besides Github?
There can be! (for example a server where you might deploy an app)
BitBucket.org, GitLab.com, or you can also host your own GitLab or Gogs (gogs.io) servers.
Make a tutorial on how to deliver like you please
Can you reupload 1.6? or just tell me the commands to get repisotories to my pc and compile them there?
Sir i get this error git' is not recognized as an internal or external command in my windows 10
it will be so helpful sir
his stomach has too much redbull INIT....
thank you tho
I'm getting an error of the form git push -u origin master
error: src refspec master does not match any error: failed to push some refs to 'github.com/username/Sampl-Init.git'
git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
C:\Users\user\Dropbox\GitHub\sample-init>git push --set-upstream origin master
error: src refspec master does not match any
error: failed to push some refs to 'github.com/user/Sampl-Init.git'