You showed us the workflow in like 10 secs that's dope.
@JoshLathamTutorials
Жыл бұрын
I wish this was taught in schools. Too many junior devs struggle with this and it's literally the industry standard.
@BenRangel
2 жыл бұрын
A good method of practical git learning is to have a friend set up a repo. You start a new branch that changes a file, then your friend changes the same file and pushes to master/main while you try to resume your branch. Then you learn how to deal with the merge conflicts. In a repo where it doesn't matter if you mess up. But you pretty much need to try it out practically to get it - it's very hard to learn this from a textbook or documentation only.
@shailmurtaza9082
Жыл бұрын
I just created another account to learn collaboration on github
@SASA_maxillo
Жыл бұрын
What if you don't have friends that knows a sh* about programming 😂😂
@bilalshaikh6603
Жыл бұрын
@@SASA_maxillosame. But we could be.
@chevvvv
11 ай бұрын
@@bilalshaikh6603same, but we could be too
@hometrier9140
9 ай бұрын
@@SASA_maxilloact as u are ur friends. Create two accounts,
@william.darrigo
Жыл бұрын
Git is difficult at first but once you learn it's really straightforward
@karspostema2762
Жыл бұрын
Yep had to learn git in depth. It seemed really boring and hard to understand but it's so nice now working with git even if it's in a ui cause I know what is going on
@randomname2437
2 жыл бұрын
You don't open source your code because you want money. I don't open source my code because it's way too embarrassing.
@johnjacobjingleheimerschmi3713
Жыл бұрын
Word tho
@X21XXI
9 ай бұрын
Omg, thank you so so much Lewis. Git is so intimidating to me and all the tutorials look like they require a "minimum 3 years experience" with a billion ways of doing the exact same thing. This is so refreshing and encouraging.
@crystalriddle4025
Жыл бұрын
I am sooo happy I found you! This will help tremendously. I am so lost in git, at this point I feel like I have messed up everything lol. Thank you for all of your helpful shorts and videos.
@ggff2269
Жыл бұрын
I basically create a repository, and test my code 2-3 times and push directly into master branch for personal project. Two step process
@shlokbhakta2893
Жыл бұрын
I mean, if it works then I see no problem here lol
@andrewmanninen1244
2 жыл бұрын
This may help my team when we finally migrate from CVS to git
@szilardfineascovasa6144
9 ай бұрын
Ah, nostalgia hit me hard! Been a while since I've heard that name. And I was sooo pissed-off when someone said we have to migrate to git! (Besides, to this day, I think Mercurial was better than git.)
@landonwjohnson
7 ай бұрын
In a previous role, we brought on several junior developers, leading to a day where I devoted eight hours solely to code review due to their unfamiliarity with Git. I ended up creating documentation on guide how they should be using Git within our project to streamline the process.
@ethanboyd4835
11 ай бұрын
I'm taking the Odin Project Right now, the first things it teaches you are how to use the Command Line and how to use Git and Github!!
@andiuptown1711
9 ай бұрын
Update? How’s ur progress
@identiticrisis
8 ай бұрын
This repository is such a wonderful idea, thank you for bringing it to my attention! I've just started on my first proper coding project and decided I need to sit down and learn some discipline with version control.
@BenRangel
2 жыл бұрын
When I learned git and github (coming from other version control systems) I was confused by the term "pull request". I knew what it was but I just felt it should be called "push request" or "merge request". I viewed everything from the eyes of me as a contributor. I do 'git push' to update my branch, so I figured I'd call it something with push when I wanted to update someone else's main branch. Someone had to explain to me a few times the term 'pull request' is seen from the eyes of the maintainer, as they are requested to pull changes into their repo. (that being said, it's still not a perfect term in my eyes. Repo maintainers most often say "I'm gonna merge this", they don't really say "I'm gonna pull this")
@eloimartinez9446
2 жыл бұрын
GitLab says merge request
@kreshnine4518
2 жыл бұрын
Please 🥺🥺
@kreshnine4518
2 жыл бұрын
P
@kreshnine4518
2 жыл бұрын
P
@kreshnine4518
2 жыл бұрын
@@eloimartinez9446 the
@FernandoHernandez-jp4gt
Жыл бұрын
This makes so much sense now in a general way. Thank you!
@CodingWithLewis
2 жыл бұрын
What would you like me to explain next? 🤔
@allan4386
2 жыл бұрын
Space and time complexity
@coledrain2158
2 жыл бұрын
How can we start making content (writing, making videos), maybe using your experience or tips from you.. How did you start?
@parenthecoltsenr
2 жыл бұрын
How a database works! If you haven’t already covered it
@Semilore317
2 жыл бұрын
Bash scripting.
@kamaljeetsahoo4752
2 жыл бұрын
How to find organizations to contribute on GitHub for beginners?
@zyrenth
2 жыл бұрын
Damn I'm watching your content for over 7 months now and I love it. Keep up the good work man.
@CodingWithLewis
2 жыл бұрын
Thanks so much! 😀
@zyrenth
2 жыл бұрын
No problem 😀
@simba276
Жыл бұрын
Just started a course last week, makes me happy that I actually understand terminology of this stuff😁
@SASA_maxillo
Жыл бұрын
The problem is whenever i want to do all of this, i see SYNTAX I HAVE NEVER SEEN IN MY 2Y OF PROGRAMMING 😂😂💀💀
@inferens
2 жыл бұрын
I connected gitlab to vs code. I uploaded 3 little websites
@Ibadullah
11 ай бұрын
Congrats, you are doing great
@empuraan4710
9 ай бұрын
thanks Lewis..... never reaaalllllyyy understood it till now
@RePlayQ
Жыл бұрын
I went to an alternate school for my senior year of highschool to learn programming. They couldn’t find a teacher so they hired a masters student from the close university. We learned git literally first day, with one line text files. It wasn’t until week two that we started learning how to code. This has been the number one advantage I’ve had in college so far.
@jennifersweet767
Жыл бұрын
Damn I'm learning so much from this channel
@NikitaDrokin
Жыл бұрын
Can you please start adding the mentioned websites inside a comment under your videos? Would be a nice “quality of life” feature.
@rushas
11 ай бұрын
PS: you still can become a "programmer" without learning the Git. It's just less painful to use a version control system
@nikoladedovic5501
Жыл бұрын
This is very powerfull, nowhere on the internet they were so concrete about what's actually "contributing to open source" means. You could actually ask GPT, BUT...
@rileyschenk3541
2 жыл бұрын
Wow nice explanation vary easy to understand.
@markkohner3160
7 ай бұрын
bro this was super super helpful ty
@tahmidrahmankhan1204
2 жыл бұрын
I've done a 'git' class in CS50 (Harvard university), they guys are awsome.
@khanmoin5926
2 жыл бұрын
Where i geT CS50 lec bro?
@prakhartripathi5281
Жыл бұрын
My first opensource contribution was through this repository 😊
@SpookyTimestamps
Жыл бұрын
Really good video, helps a newbie like me
@andsrew2694
Жыл бұрын
I did it thanks
@gabrielbarrantes6946
9 ай бұрын
I remember when git looked like something really complicated, now it seems trivial lol... Now C++ looks hard
@Dangit-Dave
Жыл бұрын
Now if I could save shorts into a favorites folder that’s be great!
@nerdsmash4263
2 жыл бұрын
Lewis you are the best
@bharath2508
11 ай бұрын
😮 This is what I want
@nanashi2622
2 жыл бұрын
Sadly I learned it the hard way. Wished I knew this.
@maxcharacterlimitreache-
2 жыл бұрын
Dude, thanks a lot. There's so much to learn and this features are often overlooked by courses. It's awesome there's people filling the gaps, but it's also awesome and essential to have folks like you, spreading the word. Thanks!
@aortizc82
Жыл бұрын
I want to see git being taught in schools. You could assume is something everybody knows I'm this line of work, but a lot of people don't know how to use it.
@demaliforte7508
2 жыл бұрын
Completed. Much respect bro
@towinandsave1520
8 ай бұрын
Can you do vidoe on how to use programs from github? I always strugle to even donwload files from github
@chineduanulugwo6227
2 жыл бұрын
Ohh, finally I get it. Open source concept was just so confusing to me.
@mohaa556
Жыл бұрын
"Git workflow is simple." Git: "Time to handle rebases and merge confilcts."
@cazmaj
Жыл бұрын
I love you videos. Don't think I'll ever be a real programmer but I love scripting in POSH :p
@FighteroftheNightman
Жыл бұрын
This is a good vid thanks
@rarehyperion
Жыл бұрын
It’s more complicated than it needs to be for some projects you want to do when using git
@positivityai-gb
2 жыл бұрын
Thnx for telling
@ivtole
2 жыл бұрын
Thank you very much
@Cinny09
2 жыл бұрын
can you give me link of this git tutorial
@MamaMia84oo7
Жыл бұрын
I never understood why people have a hard time understanding how Git works. It’s like the most simple straightforward tool in all of programming lol.
@sorvex9
11 ай бұрын
Because teachers explain it in a bad way, I found it hard in university too, but it was easy once I got a job and saw how real People used it.. And lets be honest, naming schemes like “pull request” could be better.. should have called them “merge request” instead
@anirudhmanojc.v3739
Жыл бұрын
first step is to make friends.... i don't think i will become a programmer
@yumbear
Жыл бұрын
Hey! Want to learn together? I'm also looking for a friend to learn this with.
@anirudhmanojc.v3739
Жыл бұрын
uhhh sure but.. I kinda already know programming... i mean i can teach you?
@yumbear
Жыл бұрын
@@anirudhmanojc.v3739 what language do u know? I have been learning java for few months so not a beginner
@anirudhmanojc.v3739
11 ай бұрын
@@yumbear for some reason your other comment is invincible to me
@maxxinev.pennelope7179
2 жыл бұрын
OMG i FOUND DESCRIPTION.. but the git repository isnt linked there sadday
@calcio437
2 жыл бұрын
I use vscode git :)
@NathanHedglin
2 жыл бұрын
Command line is universal. GUI are nice though
@SyedFaizQuadri
Жыл бұрын
Can you make a detail video on this?
@thomaswhyte5107
Жыл бұрын
I've only had one lesson in it so far and I have been avoiding it ever since. 😅
@michaplucinski142
2 жыл бұрын
I have to disagree To become a professional programmer you need to know how to write hello world! In like 5 languages And how to write stack overflow in google
@HayZeusSipLean
2 ай бұрын
Yes sir #freemoney
@jeathrahmatullah9487
2 жыл бұрын
nicee
@pinak3952
2 жыл бұрын
Ohh great 👍 thank u bro 😎
@ahmedshihab3266
Жыл бұрын
What if 2 branches request pull request is one will delete the other? lets say( a b c) the main branch, one will change the b to d so it will be a d c And the other will change c to f so it will be a b f, so if the main branch pull the branches, the last will cancel the first one??
@eeshanchanpura3356
2 жыл бұрын
Nice
@sarthakjain1824
Жыл бұрын
Why didn't this video got recommended to me earlier :(
@comradekenobi8146
2 жыл бұрын
I just hate that there are still programs that require command line use. Like, it shouldn't be hard to make submitting a pull request a one button process in most cases
@ramazanakbal6616
2 жыл бұрын
If you are using intellij idea, these can be easily done.
@davidbaca5349
Жыл бұрын
Is there a link to that form you showed ???
@progCan
7 ай бұрын
i really wonder how the merging process works, like, i mean behind the scenes, programatically? like i mean if there is an update of the edited script by the fork how does git handle that?
@nishantrai3114
2 жыл бұрын
Hi Lewis! Can you explain opensource? How can a new programmer use open source to learn and implement? Let's say for MERN stack
@prathamchauhan741
Жыл бұрын
woh.. this video got recommended to me after I did my first pull request today on GitHub.
@Salah-YT
Жыл бұрын
bro when u talk about something just put the link in some where please ok thx
@gingeral253
Жыл бұрын
Wait you need to fork it before cloning? I guess it’s because we can just push the changes onto the main ourselves.
@rokokingdom7818
2 жыл бұрын
Thank you for beliving im me 😁
@CodingWithLewis
2 жыл бұрын
Of course! :D
@yousafwazir3167
2 жыл бұрын
Thanks
@CodingWithLewis
2 жыл бұрын
Welcome :D
@chessstudent8797
2 жыл бұрын
Lewis, can you tackle about how to cooperate with another programmer? I'm stuck, and I think I wanna code the game (thesis) on my own and at my own pace. But we were told to cooperate as a team. I just don't get it how. Like how are we supposed to divide the code? And what if that code messes with your code? And vice versa.
@BenRangel
2 жыл бұрын
When I was a beginner, cooperating on the same code was harder than going solo. Resolving merge conflicts is a pain in the beginning, especially when you're not super familiar with git commands and perhaps a bit sloppy with your own commits. I recommend pair programming for a while just to avoid code conflicts. Until you hit a point where you can clearly divide the work in a way where you don't need to change each others files.
@rajdeepsidhu2408
Жыл бұрын
Can you please tell the name of the repository. I am in my first year of university and really want to learn how to use github and do collaborate project's with friends
@kevinwoodrobotics
10 ай бұрын
Yes best way to learn is by doing!
@prasadm7486
2 жыл бұрын
Please explain how to make money with coding
@aaronartale
9 ай бұрын
I don't always code, but when i do, i don't use git
@FauziNomad
2 жыл бұрын
Hi Lewis, i just started this coding journey a few months back with python after a long hiatus (C++ till 2007) due to my job... I found out your channel and believe me its so useful. Lots of love
@CodingWithLewis
2 жыл бұрын
Great to hear! :D
@adamandom
Жыл бұрын
One thing i dont get about git is why do you have to fork the repo first? Why not just clone the original, and commit your changes as a pull request? Is it just in case you want to submit multiple commits in a single pull request?
@kubakakauko
2 жыл бұрын
Thank youu
@faheemshaik1747
Жыл бұрын
We do that every other day
@kirbulich
Жыл бұрын
Learn master on git
@rifathossain328
Жыл бұрын
where do i find that repository, link plz
@datdwaa1532
10 ай бұрын
Nah git clone directly beg and plead for contributer role then git push --force
@Rat.s
2 жыл бұрын
Please give links too
@SpinozicTroll
2 жыл бұрын
Thank you for sharing
@天馬-u6f
Жыл бұрын
this is simple pr whole git branching is too complex
@Dukep6
2 жыл бұрын
Thanks!
@Fifsom
Жыл бұрын
Is forking the same thing as just creating a New branch?
@Sumiit005
2 жыл бұрын
Marketing Alert
@sicfxmusic
2 жыл бұрын
Me forking First Contribution 😅
@Spaceimations
2 жыл бұрын
genuinely curious, why can’t you just use the github desktop app to clone a repo and then commit the new version in a few clicks?
@geteducatedyoufool4563
10 ай бұрын
Can you do a video on best practices on using git as a big team / minimising clashes etc? In small teams it's not really a problem
@GameDev_Master
2 жыл бұрын
and there is me coding directly on the main rep
@BenRangel
2 жыл бұрын
Nothing wrong with pushing to the main branch in your own one man project. There's zero point to using branches and PR:s if you're working on your own project and doing one feature at a time.
@GameDev_Master
2 жыл бұрын
@@BenRangel thanks for clarity
@AvenDonn
2 жыл бұрын
My senior software engineering ass who already contributed to open source: hmm yes this is cool and and relevant for me. Oh wait satan needs a nullpointer fixed
@ADITYA_JEENA
Жыл бұрын
how to utilize github as a lone programmer....
@rodolf5941
11 ай бұрын
I don't get how it works with multiple people. If I fixed problem A and C, and at the same time a coworker fixed B and C but differently than me. What happens then? Do we both push? Who's code is saved and who's is ignored? I don't get that at all
@identiticrisis
8 ай бұрын
That's why it's a pull request. Someone else makes that decision.
@hewhoeatscheese
2 жыл бұрын
Git: where a single push done poorly will cause your Slack to implode. Your results may vary.
@BenRangel
2 жыл бұрын
What do you mean? One slack notification per commit?
@Linkario86
Жыл бұрын
Are there items for bug fixes and all that?
@pazzoeo
2 жыл бұрын
Why do I need a new branch when i already made a fork ?
@CodingWithLewis
2 жыл бұрын
So that your branch shows up as a different one on the repo you are forking from :)
@pazzoeo
2 жыл бұрын
@@CodingWithLewis ohhh thank you
@becausewin
2 жыл бұрын
ohhh i completely misunderstood "pull". i thought it was the opposite of push... been makeing pull requests thinking i was updating my local repo. lol
@BenRangel
2 жыл бұрын
what would "the opposite of push" be? To revert a push?
@becausewin
2 жыл бұрын
@@BenRangel idk man i skimmed stuff when i was trying to understand. i thought push meant "update git from local" so assumed pull meant "update local from git"
@BenRangel
2 жыл бұрын
@@becausewin That IS correct though, roughly.
@becausewin
2 жыл бұрын
@@BenRangel im so fucking confused rn...
@BenRangel
2 жыл бұрын
@@becausewin Sorry 😅. Not sure if this helps but I push to upload and pull to download. If me or someone else has committed a change via the github web site, my local repo has no idea of that and I need to pull to get those changes.
Пікірлер: 224