What is a bare Git repo and why you need them

preview_player
Показать описание
Bare repositories are similar to normal repositories except they are better suited to be used by multiple people as the authoritative repository.

Hope you enjoyed the video!

Join my Discord server to chat with me:

Check out some code on my GitHub:

Come visit us on Reddit:

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

You are so good at teaching. You ask the same questions I have during the video at the same time. This makes you more a teacher and a student who is sitting beside you wondering the same thing. Really nice.

lukasberk
Автор

You can also use a bare repo and the hook scripts ( post-receive for example ) as a deployment mechanism too.

bigmandan
Автор

Hey there! I'm genuinely glad that I came across your channel & got to be a part of an amazing wealth/treasure of knowledge that is enlightening and informative. Thank you so much, & I'll join you over your discord server.. thanks again!

xenialxerous
Автор

Yep this is how we did things before github was a thing, and even after if you wanted private repos. People thing github is synonymous with git, important to know that they are not.

YisraelDovL
Автор

Wow. Best explanation, rich content. So many other channels spend so much time on fluff and groundwork, you just go straight to the point not worrying if you talk to fast (we are on YouTube after all, people can rewind!) - great work.

michaelm
Автор

Clear, concise and helpful, thanks :)

ItzeMiiSimi
Автор

Great explanation, i stumbled upon bare repo when working with git worktrees and didn't understand what that bare repo i was having to pull was. Great and quick explanation, i even gasped when you cloned from a repo that was just on your local machine. All the abstraction that modern platforms provide kind of obstruct that this is "just" a fancy folder structure :)

karolgutkowski
Автор

well that was intersting
hopefully someday I'll need it, thanks Engineer Man!

GabrielIchiro
Автор

Years later and this is one of the best videos on this topic.

gregorywpower
Автор

Sometimes I really don't know whether im gonna use this knowledge or not, I just enjoy knowing it.

Zhouri
Автор

I scratched my head for few hours and thank god I found you...so clear and precise explanation..

kkyes
Автор

Very on point and well made video, congrats!

stefanciltea
Автор

Thanks a bunch. I didn't know about this feature and have started using it right after watching your video. I'm the sole developer on all my personal projects (as an humble hobbyist) and I actually have no need for remote services.

ybcmfdh
Автор

Clear, informative, straight to the point, no drama, and useful.
Perfect for me. Best communication mode ever.
Thanks !

emjizone
Автор

Wonderful explanation 👌🏻, thank you 🙏🏻

reza.kargar
Автор

didn't even know I needed this, but I needed this so urgently

yeetyeet
Автор

Very cool. It seems I have more to learn about Git every day.

theRealtensigh
Автор

and if you put that bare repo on a server that you have ssh access on, you now host your own git repos
(also you can actually work on code in a bare repo by doing: git worktree add <branch> and cd <branch>)

mrt_
Автор

cool video, straight to the point, thanks! How would you go about hosting a bare repo on a cloud service like AWS?

jpgarcia
Автор

I use one to make it simple to push my, mostly, dot files to GitHub. I can add a file from anywhere, commit it, and push it up to GitHub. So, if you look for tobeypeters on there, you'll see a dotfiles repo with my .bashrc and such.

tobeypeters
join shbcf.ru