git find fat commit

You could do this: git ls-tree -r -t -l –full-name HEAD | sort -n -k 4 This will show the largest files at the bottom (fourth column is the file (blob) size. If you need to look at different branches you’ll want to change HEAD to those branch names. Or, put this in a loop … Read more

What should I do when git revert aborts with an error message?

Yes you will have to resolve the conflicts, mark them as so with git add or git rm and git commit The commit is not done yet, after the git revert – if you see .git/MERGE_MSG, you will see something like: Revert “adding revert” This reverts commit c1366607f15a8384434948cb0bcbf8ece48bb460. Conflicts: revert So once you resolved the … Read more

Do you push every single commit? [closed]

Pushing and Pulling from the remote repository isn’t quite as important as your local commits. Typically pushing and pulling a few times a day is sufficient. Like @earlonrails said, more frequent pushes means less likelihood of conflicting changes but typically it isn’t that big a deal. Think of it this way, by committing to your … Read more

svn: local commits

It is not possible to do local commits with Subversion. This is because, as a centralized version control system, your local working copy does not have all the information the server has about past revisions, log entries, etc. which it would have had if it was a Distributed Version Control System (DVCS). A subversion working … Read more