Git Version Control _final_new_final.new - Computerphile

preview_player
Показать описание
Continuing our look at Git, Dr Max Wilson has a quick look at versions and branches.


This video was filmed and edited by Sean Riley.


Рекомендации по теме
Комментарии
Автор

Everyone knows "Final2" is the ultimate edition of any piece of code

veggiet
Автор

I started taking programming for fun last semester. Most of the content on this channel still goes over my head, but it's still really rewarding to see a computerphile video and realize it's stuff I know!

librariesarecool
Автор

I like how the title looks like an error until the video starts and explains itself immediately.

jasonlavalleur
Автор

Git is pretty easy, whenever it doesn't work I just do "git push --force" and the error goes away.

klekaelly
Автор

only in this video i now understand the purpose of git tagging. thanks computerphile! i've been loving git ever since i first used it for my coding projects! it is now one of the quintissential things you need to know when starting to code that's not related to coding in general.

cindrmon
Автор

Oh, thanks a lot for the PTSD trigger of my professor filenames during my PhD...

StefanoBorini
Автор

I feel like this is leading into a video about CI/CD pipelines!

kye.warrer
Автор

Naming conventions are hard. On the subject of version numbering, I have a story about it. About a year ago, I was put in charge of moving our project from our own CI/CD pipeline (continuous integration/continuous deployment, i.e. "as soon as code is merged, it's automatically built and uploaded to our testing servers by this system") to a new "one size fits all" pipeline our company decided to build. The goal was that every project in the company would be using the same pipeline in the end. Well, turns out we were using a slightly different version numbering scheme than everyone else: they all used <major>.<minor>.<patch> while we used <major>.<minor>.<patch>-<build>, since we often go back to older patch versions our clients refuse to update away from and make changes there in new builds. No big deal, right? It's just one extra number and a hyphen, right? Wrong. The global pipeline was not built to deal with that format, so it kept parsing our version numbers wrong and trying to upload the builds with the wrong name. This led to collisions, where the filename it was trying to upload to our servers already existed, so they'd get rejected and not upload at all.

It was a month of headaches before I finally had to just tell the team writing the new pipeline to give us an optional settings flag to switch the expected version format. A month during which they kept saying, "why don't you just switch how you number things?" and we kept saying, "because then our clients can't ask us for changes without updating, and unless you want them complaining to YOU every hour, we can't do that!"

IceMetalPunk
Автор

Yea naming of branches is often done in accordance with the task you are working on. The naming of tasks is done by a different system like Jira or preferably something else...

poppop-ojby
Автор

8 minutes after this video's release, Chrome has advanced by 28 sub-patch versions.

rainmannoodles
Автор

I'm surprised there's not yet a Computerphile video on Semver - seems pretty relevant to this video.

Peckingbird
Автор

2:20 If only... App store patch notes are always filled with boilerplate marketing fluff instead of anything informative regarding the update.

UmaiKayu
Автор

I like the "commit messages" seen at 2:25. :)

kevincozens
Автор

I usually call my videos "xxx_preN" with N being a two digit number, counting up one each iteration.

blackasthesky
Автор

Great video, as usual. Works great with Emacs and Magit mode.

AndersJackson
Автор

I still see _final_02201702 too often.

nathanhedglin
Автор

Only nowadays you don’t use ‘git checkout’ to switch branches, you use ‘git switch’

AndreSomers
Автор

Git was created by Linus Torvalds, the creator of Linux. I think he once said that after Linux and Git, he should stop naming things after himself.

CristiNeagu
Автор

For some reason I always thought these were edited with Avid Media Composer? Is that only used by Brady?

leonardusl
Автор

I'll be abusing git tag from today! great video!

Yutaro-Yoshii