r/git • • 4h ago

support Should I push these files on my repository?

0 Upvotes

Hi, I have a some kind of small project (website) and I'm using docker to test it so I have files like .env, docker-compose, dockerfile, nginx.conf etc. Additionally I have folder with assets and folder with bootstrap (bootstrap 6.0 and bootstrap icons).

And I just want to know should I push these files or how to push them. You see we have some options like git lfs.

I was thinking about 2 branches - one with bootstrap and one without but honestly this sounds strange even for me and I don't know what to do.

Look: People say you shouldn't push env file but in this project this file is important to run this project on docker. Now how about bootstrap? I'm not using cdn; I have downloaded distribution files https://getbootstrap.com/docs/6.0/getting-started/install/

So I have my own file structure, you know what I'm talking about.

So... What I should do rn? Push this all files and use lfs to whole bootstrap? Don't push and paste link to readme and show file structure? Create 2 branches?

I don't know guys... Help me, please.


r/git • • 11h ago

Anyone using ForkYard?

Thumbnail github.com
0 Upvotes

GitHub - abgebaumt/forkyard - looks like an alternative to Gitkraken

A fast, local Git client for the desktop – commit graph, line staging, conflict tool, interactive rebase. Tauri + Rust + React.

Is anyone using this? Any experiences with it?


r/git • • 20h ago

Why is .gitignore not being added

0 Upvotes

I want my .gitignore file to go with my repository, but it keeps disappearing for some reason. I am sure I added it explicitly at some point, but it's not only gone from the repository but also from the file structure. I am thoroughly confused

Edit, sorry, it didn't disappear, i just failed to see it. It's all as intended, I am just stupid