Github Mistakes and What I Wish I Knew Sooner
Ғылым және технология
I've made a LOT of GitHub mistakes! Here is a list of things most new users do not know or do WRONG!
Website guide: christitus.com/do-not-make-these-github-mistakes/
Timestamps:
00:00 Why GitHub
01:37 Raw Files
03:14 Branches
05:19 Pull Requests
08:14 Issues
10:17 Rollbacks
13:33 Unit Tests .
►► Digital Downloads ➜ www.cttstore.com
►► Reddit ➜ www.reddit.com/r/ChrisTitusTech/
►► Titus Tech Talk ➜ kzread.info
►► Twitch ➜ www.twitch.tv/christitustech
Пікірлер: 62
I don't think we acknowledge and thank enough the contributions that Linus Torvalds did to humanity by sharing Linux and git, specially for making them free and open source...
@ChrisTitusTech
10 ай бұрын
It really is amazing that he dedicated his life's work and not only gave it out for free, but showed us how he did it.
@igavinwood
10 ай бұрын
Well said and I believe so true
@ShaneFlooks
10 ай бұрын
👽
@CraftGodsOfficial
10 ай бұрын
Iamyouyouaremeweareall ♌💗 simply beautiful to know how much we can achieve by working together ✴🙌🏽✴
@he8535
10 ай бұрын
@@ChrisTitusTechhey Titus what is the lightest desktop setup that still uses floating/stacking windows I desperately want to have an extremely minimal desktop with low package count and under 1gb of ram usage
Word of advice, dont rely on the automatic conflict resolutions. it may think your new code is actually older, and replace it with the older code. or if you decide to "accept both" it can mess up the order, putting the older code below the new code breaking the logic flow. I always manually resolve any conflicts and merges because ive been burnt a few times
Instead of merging the old branch into the staging branch, you could have used "cherry pick". Another thing you could do too was "git stash", it would put all the project work in a "box", then you would pull the test branch to update and use "git stash pop". This way, the changes would be placed at the top of the updated test branch.
We don't make mistakes, just happy little accidents. Citation from Bob Ross. This is for you Chris since you make our miserable lifes happy again with the help you provide.
I approach any coding I do as being 'Alternatively Correct' from the start, that way I'm prepared for others that question my brilliance. Great work and vid/vod Chris. I love your openness. You may now find a whole lot of new comments on your GitHub account. Hope you're ready
Chris, I am glad you kept the promise to yourself. In past video about Github you talked how you wanna work and post stuff. That is really some commitment! Thank you for these tricks. Nice video like always.
Dev and release branch rather than test and main. Make dev the default branch so all PR go to this and only ocassionally forward release branch. What about this approach?
@ChrisTitusTech
10 ай бұрын
Love the idea, I didn't know there were they types of branches. I just looked up release branches and love this approach.
For branches, create "dev" branch for active development & restrict push access to main branch Then when releasing a new version just merge "dev" into main
@cheebadigga4092
9 ай бұрын
Or the other way around: Have a "stable" branch and "main" is considered "actively developed where things could go wrong". Or have all three branches and make the main branch something else.
Gosh! I wish I knew programming! This was super interesting! Thanks for sharing!
didn't know i would show up in your video. glad i did it correct atleast. thank you for the script, its amazing, and i want to contribute more.
Thank You! I agree that git and git type software management systems are outstanding. A "for the love of" army of computer affectionados (AKA Nerds/Propeller Heads -- of which I am one) is so heart warming brotherhood/sisterhood. I had a computer career of having fun and getting paid to do so!!!
1st comment.. I mean commit.. wait I need to revert that
Git has some very interesting tools... if you know how to use them. Perhaps a video on underused git commands? PS: I don't really type git commands these days, it's builtin GUI is more than enough.
If you want to download a file, just hold Alt and press RAW
hey man, could you do a video talking about the new 23H2? (especially performance-wise)
You can also install a commit hook which prevents you from committing to master on the command line. You can also set it to protected as well. Both will prevent you as owner to commit directly to that branch.
@onkelfabs6408
8 ай бұрын
To further elaborate on commit hooks, you can also install them directly in the repo. Then users can run the unit tests on their local machines.
What bothers me is that every single time I struggle to find out how to actually download the file.I always get source code and other stuff I don't want.
Glad to see I'm not the only one who struggles with rebasing. Began working last year and to this day, it's the bane of my existence.
Hey Chris, is there any way to prevent your Windows Tool from messing with the service host grouping? I'm talking about the SvcHostSplitThresholdInKB value, your tool changes the threshold from default 3,5gigs to 32gigs, I personally have a 32gigs memory machine that runs noticably better when windows services are ungrouped, and that changed value puts me right on the line apparently where Windows would group the services into fewer processes. Thank you in advance!
for git merging and rollbacks and all those things i dont really like to use github desktop, i always use a more advanced tool like git extension, git kraken etc.. those tools give at least for me a way better understanding of whats going on by giving more options and visualizations.
@ChrisTitusTech
10 ай бұрын
I'll check those out. I haven't dived into those things yet.
@jonesy_b
10 ай бұрын
@@ChrisTitusTech sounds good! those proper git tools are a must for me with these things, especially the branch visualization i find extremely useful
The troubleshooters are broke after using WinUtil , its says "This file does not have an app associated with it for performing this action". How to fix ?
What is the font you are using on Brave?
Can you make a optimization video for low end pc users like me (for gameing )
Wait I can just add softwear I or other could want by just adding it to the test branch>?
Hey Chris! Is there anywhere for us to donate? Your tool improved the way I use windows and I really appreciate that. I'm a Linux user and it made it a lot more bearable than it was before to use it (I am also forced to because of my career :D)
@ChrisTitusTech
10 ай бұрын
You can use github.com/christitustech or just directly on my store website cttstore.com
@alexcolclough3001
10 ай бұрын
@@ChrisTitusTech - I joined. Greatly appreciate all that you do!
Is this font change is browser only or whole os? How can i do that?
Keep it up 👍👍👍
How can i wipe all data in a hard drive in terminal
The website guide is not up yet
@ChrisTitusTech
10 ай бұрын
Fixed thanks for letting me know!
Nice!
Doing good! 👍👌
One thing I learned about GitHub is that you can't name a branch a slur lol
Hey! I see you in DWM.
@ChrisTitusTech
10 ай бұрын
My Fav so far!
@zvanmilisavljevic8879
10 ай бұрын
@@ChrisTitusTech Nice! Is it beacuse of the minimalism? Or something else.
You sound like Nick Kroll 😲😲😲
your tool first of all is it free and second where do u download it i have looked all over your webgsite
@TheSuspiciousPotato123
10 ай бұрын
nvm mind found out u need to make the command in powershell not cmd
Alt Title : "How to stop being a scrub and git gud"
I wish I just knew how to use github this video was little to no help.
12:42 For real git users (CLI users) "$ git branch branch_name "