046 Introduction to GitHub Actions
12:33
El Risitas Explains Git
3:50
5 жыл бұрын
040 How to use git ls-files
9:40
5 жыл бұрын
035 Parallel Jobs in Gitlab CI
9:17
5 жыл бұрын
032 Introduction to Git Subtrees
20:43
029 Interactive Rebase Options
15:31
6 жыл бұрын
028 Introduction to Gitlab CI
20:43
6 жыл бұрын
Two-Minute Git Crash Course
1:57
6 жыл бұрын
026 Introduction to Gitlab
21:16
7 жыл бұрын
025 Git reset modes
13:58
7 жыл бұрын
024 Git aliases and git clean
19:06
7 жыл бұрын
023 Introduction to Git Hooks
17:03
7 жыл бұрын
022 Introduction to git grep
11:35
7 жыл бұрын
Пікірлер
@ruixue6955
@ruixue6955 8 күн бұрын
0:43 fake example: use the *trick* simulation framework to do the simulation 1:56 purpose of *submodule* 2:10 why need a submodule (the *trick* project in the example) 2:32 purpose: let you tie the specific commit to the development flow of the repo you care about 3:12 *if you want to include a third-party dependency in your repo, a good way is to use git submodule* 3:48 demo 4:31 command: git submodule add <url of the dependency repo> 10:24 change code in *trick* repo 16:30
@ruixue6955
@ruixue6955 12 күн бұрын
0:56 git remote show origin 2:13 git subtree add
@d-thec-tieve4648
@d-thec-tieve4648 21 күн бұрын
you can use git blame -L to limit to a line number
@kqvanity
@kqvanity 2 ай бұрын
every subcommand man pages*
@xhuxhoo90
@xhuxhoo90 3 ай бұрын
7 years later and still works. Thanks a lot!
@kqvanity
@kqvanity 4 ай бұрын
It's a bit inconvenient tho for commits spanning multiple files, which is why you should commit often and not use an external TUI tool : )
@pixiedev
@pixiedev 5 ай бұрын
Thanks man before this I removed the commit and re commit with the message 👍🏻
@nikhileshsaggere
@nikhileshsaggere 5 ай бұрын
Hi Dan, I am on Gitlab free tier community edition, is it feasible to implement merge state/merge result pipeline by myself meaning by adding another specific stage to checkout current master and merge the source branch that runs only on merge requests....would this work as closer to the Gitlab's merge result pipeline and merge train feature? Please share your thoughts! Thanks.
@DanGitschooldude
@DanGitschooldude 5 ай бұрын
Yes what you describe is possible but you have to handle the git mechanics and error handling yourself - consider if there's a merge conflict. What if you have submodules you have to make sure they are updated, etc. Probably not too difficult to manage with a small project but you can also just force semi-linear history which solves the same core problem of testing the merged state. Let me know how it goes!
@nikhileshsaggere
@nikhileshsaggere 5 ай бұрын
Sure. Will try and update here. Thank you!!
@nikhileshsaggere
@nikhileshsaggere 5 ай бұрын
Genius!!
@mihai6564
@mihai6564 6 ай бұрын
I used your video at my work
@DanGitschooldude
@DanGitschooldude 6 ай бұрын
Me too!
@vinisampa26
@vinisampa26 6 ай бұрын
thanks!!
@takshpatel8109
@takshpatel8109 7 ай бұрын
Thanks Dan
@takshpatel8109
@takshpatel8109 7 ай бұрын
Thanks for video
@jondoough
@jondoough 8 ай бұрын
Started out well until you confused things about removing history, and you really didn't end up with the purpose. A good example would be something like drupal were a developer started making modules, and then you want to split them off. You forgot how to link the submodule back to the main repo. This would be a useful example.
@olokosdsfddfdfs
@olokosdsfddfdfs 8 ай бұрын
Quick, on point and easy to understand, thanks!
@mihai6564
@mihai6564 8 ай бұрын
good video
@tzgardner
@tzgardner 9 ай бұрын
I guess the only: keyword is associated under-the-hood to the branch name? As apposed to writing an if statement to accomplish what you did at around 5:30-6:00
@DanGitschooldude
@DanGitschooldude 9 ай бұрын
I'm not sure - but I believe only: is no longer being updated/supported and the entire mechanism has been replaced by the newer rules: clause, check out the documentation for details.
@pig2008ex
@pig2008ex 9 ай бұрын
bro you are my hero
@corndoggydogdog
@corndoggydogdog 11 ай бұрын
Do other users need git lfs to retrieve resources? I'm guessing so, but it'd be amazing if only one team member needed lfs!
@DanGitschooldude
@DanGitschooldude 11 ай бұрын
Yes, they need the git lfs client. It's so widely used now it's available on practically every platform.
@jdaniels1313
@jdaniels1313 11 ай бұрын
Loved it! Now, are you going to follow up this Tour de Force with a "Hitler - Downfall" version of mocking Git? Or maybe Hitler standardizing his startup on Microsoft Windows Servers over Linux servers? ("Mein Fuhrer... the Microsoft license fees are $100,000 per server..." and Hitler waves dismissively, "we will pay them with Weimar Republic currency, two wheelbarrows full should do it")
@uhrinq6102
@uhrinq6102 11 ай бұрын
it doesnt let me create the repo with git init ,it shows gilbc not found? on replit that is ,does that just mean to install gilbc and then how do i link it in?
@madmurdock1
@madmurdock1 Жыл бұрын
Thanks for the video. Sadly the end statement, that submodules are rather the wrong choice for in-development code modules came a little late. It would have helped me way more, if you would have mentioned this at the beginning - so that I’ve sooner recognized that this is not useful for me. :D :P
@DanGitschooldude
@DanGitschooldude Жыл бұрын
I think this is proven even more true in the last 8 years since I made this video. The monorepo has won over the many-submodules approach folks were trying a decade ago. Submodules are still useful for slow moving 3rd party dependencies - I use them in my day job. They are just misused often. Thanks for watching!
@srivishnu6640
@srivishnu6640 Жыл бұрын
Clear Understanding! Thank you!!
@mekam3963
@mekam3963 Жыл бұрын
I would like a webhooks. I also haven’t checked out your other videos yet! Good explanations
@kavitakulkarni2118
@kavitakulkarni2118 Жыл бұрын
There is one question which says, while running git filter-branch --tree-filter command, the execution became slow, so which filter command you will use instead to get quick results. The answer is --index-filter but I am not sure why and how? Can you please explain that?
@shahrokhabbasirad2223
@shahrokhabbasirad2223 Жыл бұрын
Awesome. You solved my problem. I was stuck with this fatal error when running the submodule update --init. And you showed where I was doing it wrong. Thanks
@mikesellers7101
@mikesellers7101 Жыл бұрын
Thank you!
@yadali4833
@yadali4833 Жыл бұрын
I am new to git, I did not understand what you did after the commit, you created a new branch and pushed to that branch?
@1985stout
@1985stout Жыл бұрын
Thankyou!!
@derekreed6798
@derekreed6798 Жыл бұрын
Nice 2 vids
@DanGitschooldude
@DanGitschooldude Жыл бұрын
Re-upped free link again. First 100 redemptions are free here: www.udemy.com/course/fundamentals-of-git/?couponCode=F425AC4018D6BC95B50E
@viktornikolov1570
@viktornikolov1570 Жыл бұрын
Now this really helps. A great way to use youtube shorts.
@DanGitschooldude
@DanGitschooldude Жыл бұрын
Glad it was helpful!
@FrankGraffagnino
@FrankGraffagnino Жыл бұрын
before i watched i knew Derek was to blame.
@JD-mv4rb
@JD-mv4rb Жыл бұрын
so cool!
@kopiking352
@kopiking352 Жыл бұрын
using --squash would cause lots of merge conflicts when subtree add or pull
@yash1152
@yash1152 Жыл бұрын
9:12 how to make it show the line numbers too? so, like file.ext:12:chicken
@yash1152
@yash1152 Жыл бұрын
3:04 ll for long listing - oh, i had forgotten this
@yash1152
@yash1152 Жыл бұрын
9:16 alias for pretty printing git log -- aah, super nice :)
@davidc.9933
@davidc.9933 Жыл бұрын
I think I need to watch the previous video. I want to take a list of strings, or an array, and get matrix to spread them out over jobs. In Jenkins I did that by maintaining specs for each worker, but there must be a way to iterate in GitLab. Thanks for content I can listen to, you have a great voice for this, subscribed.
@krisculin9679
@krisculin9679 Жыл бұрын
I am very new to Git (my team is moving to DevOps Git in the very near future) and I searched long and hard for a good series of tutorials and came across your playlist. So far it is absolutely perfect. Each video is short and concise about a singular command and it is very easy to follow. This is only #11 and I'm looking forward to watching the rest. GitK is available on Windows at least via Git Bash - 7 years after this video was created.
@DanGitschooldude
@DanGitschooldude Жыл бұрын
Thanks for the kind words Kris!
@user-vv4xs4sv9c
@user-vv4xs4sv9c Жыл бұрын
Is there a way to add a new line to the commit message with reword option?
@DanGitschooldude
@DanGitschooldude Жыл бұрын
Yes, commits can be edited with interactive rebase. "Reword" or "edit" will enable that.
@user-vv4xs4sv9c
@user-vv4xs4sv9c Жыл бұрын
@@DanGitschooldude Thank you for your reply :) However, when I select the reword option, it only allows me to edit a line but i want to add a new line to describe the commit message. I tried to go to the next line but it didn't work. I am very new to using github so I appriciate your help very much.
@user-vv4xs4sv9c
@user-vv4xs4sv9c Жыл бұрын
I found that i needed an extra enter to make it work. Thank you.
@games4us132
@games4us132 Жыл бұрын
very usefull. thank you !
@khangohan7288
@khangohan7288 Жыл бұрын
I was trying to push to github repository but due to large file lfs error come. So I delete the larg file which is not necessary due to which error was coming but still error is there of git LFS. Any soln for this problem
@DanGitschooldude
@DanGitschooldude Жыл бұрын
You can't just delete a file to resolve it, because when you push it pushes all commits. If that file is in any of those commits, you still get the rejection. You have to squash the commits or otherwise remove all commits where the problematic file exists. I have videos on deleting files from all history and interactive rebase, check them out.
@games4us132
@games4us132 Жыл бұрын
why hotfixing 1.2.x if you have 1.3.x hotfixed and released ?
@games4us132
@games4us132 Жыл бұрын
6:28 unusual way to rickroll people. :)
@mihaicode2005
@mihaicode2005 Жыл бұрын
Dan, I put a reference to your video in this tutorial kzfaq.info/get/bejne/rM-cgaeZyNLWdI0.html. I hope it helps to promote you.
@DanGitschooldude
@DanGitschooldude Жыл бұрын
Thanks! Cheers buddy!
@samuelcasimiro
@samuelcasimiro Жыл бұрын
Wow. The most transparent subtree explanation I have ever seen. Thank you so much! I will definitely subscribe.
@viswaviswa8616
@viswaviswa8616 Жыл бұрын
Hi Dan, thanks for your time, not sure git lfs will support azure repo, because i followed your video after pushing my changes into git azure repository, i don't see any LFS tracked file inside azure repo and also I'm trying to lock lfs files inorder to others can't be edited.
@clintgood8026
@clintgood8026 Жыл бұрын
Just to add to the chorus. Thanks Dan! It allowed me to easily shrink a repo from 4GB to 65MB
@nagavadlapudi
@nagavadlapudi Жыл бұрын
Actual thing starts at 5:00