Github Mistakes and What I Wish I Knew Sooner

Github Mistakes and What I Wish I Knew Sooner

Chris Titus Tech

1 год назад

36,071 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@hertgsesrht3499
@hertgsesrht3499 - 20.09.2023 16:16

1st comment..

I mean commit..
wait I need to revert that

Ответить
@hanifarroisimukhlis5989
@hanifarroisimukhlis5989 - 20.09.2023 16:18

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.

Ответить
@christopherneufelt8971
@christopherneufelt8971 - 20.09.2023 16:21

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.

Ответить
@groos3449
@groos3449 - 20.09.2023 16:24

What is the font you are using on Brave?

Ответить
@sleepingiv
@sleepingiv - 20.09.2023 16:24

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 ?

Ответить
@SoftwareRat
@SoftwareRat - 20.09.2023 16:34

The website guide is not up yet

Ответить
@zvanmilisavljevic8879
@zvanmilisavljevic8879 - 20.09.2023 16:41

Hey! I see you in DWM.

Ответить
@chekhov8
@chekhov8 - 20.09.2023 16:45

Can you make a optimization video for low end pc users like me (for gameing )

Ответить
@igavinwood
@igavinwood - 20.09.2023 16:45

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

Ответить
@astrea555
@astrea555 - 20.09.2023 16:50

I just used your win10 app, it's fantastic, just wanted to thank you again. (and all the contributors as well)

Ответить
@tvtalkwithavi
@tvtalkwithavi - 20.09.2023 16:57

You sound like Nick Kroll 😲😲😲

Ответить
@phanirithvij
@phanirithvij - 20.09.2023 17:11

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?

Ответить
@ussul6524
@ussul6524 - 20.09.2023 17:30

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.

Ответить
@EricClapton1945
@EricClapton1945 - 20.09.2023 17:51

Wait I can just add softwear I or other could want by just adding it to the test branch>?

Ответить
@masterofreality230
@masterofreality230 - 20.09.2023 17:53

One thing I learned about GitHub is that you can't name a branch a slur lol

Ответить
@jonesy_b
@jonesy_b - 20.09.2023 18:51

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.

Ответить
@alexcolclough3001
@alexcolclough3001 - 20.09.2023 19:06

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)

Ответить
@lukasbandarra
@lukasbandarra - 20.09.2023 19:29

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.

Ответить
@GKM6600
@GKM6600 - 20.09.2023 20:05

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.

Ответить
@YSPRO
@YSPRO - 20.09.2023 20:17

Keep it up 👍👍👍

Ответить
@notthere83
@notthere83 - 20.09.2023 20:21

When it comes to "rolling back commits" - personally (which is based on both experiences with multiple teams as well as Google/Facebook as described on the site trunkbaseddevelopment - although I would go for the "scaled trunk-based development" workflow even for smaller teams, see below), I would strongly recommend not messing with the git history any more than absolutely necessary.

(Generally) have one protected main branch and no other long-lived branches.
Work based off of main being the source of truth that is always up to date. Having tests fail on it (which I regularly see on popular OSS...) should not be acceptable. It has to be rock solid.
If, despite this, a mistake is made, well... it depends on what the release workflow and rollback options look like. But if possible, I would suggest simply fixing it in a fresh PR that's based on latest master.

Ответить
@KratomSyndicate
@KratomSyndicate - 20.09.2023 20:49

I been using gitlens for seeing commit history been helpful but is paid extention for vscode

Ответить
@nils-erikolsson3539
@nils-erikolsson3539 - 21.09.2023 00:12

Doing good! 👍👌

Ответить
@n0kodoko143
@n0kodoko143 - 21.09.2023 00:43

Nice!

Ответить
@GYTCommnts
@GYTCommnts - 21.09.2023 05:35

Gosh! I wish I knew programming! This was super interesting! Thanks for sharing!

Ответить
@davidwt
@davidwt - 21.09.2023 05:52

Jetbrains has IDE products with community editions (free), of which I primarily use CLion (commercial version) at work. There git support exceeds anything else I've encountered in GUI/IDE's and I really love the merging interface for conflicts. This alone would justify having one of their IDE's on hand, even if not using it for anything else. Though the other git functionality is superb, and I wish they would extract it into its own GUI app.

Ответить
@acatch22
@acatch22 - 21.09.2023 06:40

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

Ответить
@Tech-NO-City
@Tech-NO-City - 21.09.2023 07:53

I wish I just knew how to use github this video was little to no help.

Ответить
@krtirtho
@krtirtho - 21.09.2023 12:30

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

Ответить
@mehdinh4986
@mehdinh4986 - 21.09.2023 13:44

How can i wipe all data in a hard drive in terminal

Ответить
@robonator2945
@robonator2945 - 21.09.2023 18:55

Alt Title : "How to stop being a scrub and git gud"

Ответить
@muddyexport5639
@muddyexport5639 - 21.09.2023 19:58

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!!!

Ответить
@CVLova
@CVLova - 22.09.2023 13:54

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.

Ответить
@nikczemnydev
@nikczemnydev - 22.09.2023 16:08

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!

Ответить
@Vemu
@Vemu - 23.09.2023 03:50

If you want to download a file, just hold Alt and press RAW

Ответить
@leiner0X
@leiner0X - 23.09.2023 14:50

hey man, could you do a video talking about the new 23H2?
(especially performance-wise)

Ответить
@TheSuspiciousPotato123
@TheSuspiciousPotato123 - 24.09.2023 13:46

your tool first of all is it free and second where do u download it i have looked all over your webgsite

Ответить
@peteryates308
@peteryates308 - 24.09.2023 14:42

I would recommend using `git switch` to change branches, it's the modern approach and makes far more sense.

Ответить
@cheebadigga4092
@cheebadigga4092 - 14.10.2023 17:01

winutil is the best thing to ever happen to Windows! Thank you so much for it.

Ответить
@galkanftw
@galkanftw - 19.10.2023 17:23

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.

Ответить
@onkelfabs6408
@onkelfabs6408 - 07.11.2023 01:52

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.

Ответить
@abh1nn
@abh1nn - 15.01.2024 15:38

Is this font change is browser only or whole os? How can i do that?

Ответить
@Mikesco3
@Mikesco3 - 20.09.2023 17:30

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...

Ответить