Why is my git repository so big?
145M = .git/objects/pack/
Why is my git repository so big?
145M = .git/objects/pack/
git –format=”%(decorate)” not recognized?
The pretty-format specifier “%(decorate)” is not recognized in git 2.42.0. Is this is no longer supported, or was it never supported, or am I using it incorrectly?
Removing commits from branch
I want to create new branch from my main.
I have about 50 pushed commits (it’s not last 50 commits in branch, they’re mixed with others commits) in my main branch that shouldn’t be in the newly created branch.
do you know how to achieve this?
I read about interactive rebase, but this option is disabled in my git:log in intelij. There’s any other option? There’s maybe option to squash some existing commits?
How to restore all files with only line ending differences in a git repo?
I’m working on Windows with core.autocrlf
being true
. A third party code generator generates files with LF line endings. Every time code is regenerated, git status
shows that a large amount of files have changed, but most of them are only line ending changes (CRLF changes to LF). How to restore all those files with only line ending differences? Or, what should the config be so that git will ignore those line ending changes?
Managing multiple people working on a project with GIT
I’m very new to GIT/GitHub (as new as starting yesterday). I would like to know what is the best way to manage multiple people working on the same project with Github. Currently I’m managing one project with four developers.
What’s the proper way to check commit data in Git?
My goal is to check commit data that don’t meet certain requirements and then reject either the commit being created or pushed to the remote repository.
Approaches to manage related binary files, apart from code [duplicate]
This question already has answers here: Binaries in source control (12 answers) Closed 11 years ago. I’m working on a website for a photographer, the whole code is just a few files, and whole repository is a few MBs without the actual photographs. But, when I add the actual photographs to git and commit, then […]
Will a git push be interrupted if my computer’s internet connection is dropped temporarily?
I am currently in the middle of pushing a commit that adds some very large files (tracked via git lfs) from a location with a particularly slow internet connection and I’m wondering what happens if carry it to a place with a better connection without suspending it (which is not possible with my OS of choice on my particular laptop model, even when I close the lid the laptop just keeps running). The wifi connection would be dropped when I am carry it from my current location to the one with better network speeds, but will that cause the push be interrupted, forcing me to start it again from the very beginning, or will it continue where I left off once I arrive at the new location?
I am a git user confused by mercurial’s branching. How am I supposed to track small changes?
I’ve always used git before, but I want to contribute to python so now I have to learn mercurial and I find it very frustrating.