-
Notifications
You must be signed in to change notification settings - Fork 1
Home
peakpg edited this page Sep 6, 2012
·
6 revisions
Here's the sample workflow I want to simplify (with a nod to http://reinh.com/blog/2009/03/02/a-git-workflow-for-agile-teams.html)
git checkout -b feature/name_of_feature
git checkout master
git pull
git checkout feature/name_of_feature
git rebase master
$ git count-objects -v
Look for size pack and that is ~ the # of bites the repository is.
- Handling pruning extremely large files from history: http://stevelorek.com/how-to-shrink-a-git-repository.html
It would be good to add functions to find and prune large files that make the repo size huge. This should include a way to specify multiple files to be removed from history at once, since this process can take a long time.
Suggested API:
$ gd fat-kids # List the top 10 biggest files in the repo, even if they have been deleted.
$ gd diet [FILE_NAME] # Remove a single file from the repository history.
$ gd diet # Prompt for multiple file names to be removed. Enter blank when complete.