Remove unneeded files from git repository using .gitignore
git rm --cached `git ls-files -i --exclude-from=.gitignore`
git rm --cached `git ls-files -i --exclude-from=.gitignore`
If you are working with a source code versioning system such as github.com or Gitlab you may need to create a private and public keypair in order to ...
1. Clone the git repo https://spwhitton.name/tech/code/git-remote-gcrypt/ Documentation https://github.com/spwhitton/git-remote-gcrypt 2. Insta...
Create a .gitignore file with the following * !.gitignore if you want sub directories you will need to include them in the exclude part which is...
Creds: http://stevelorek.com/how-to-shrink-a-git-repository.html Cleaning the files Cleaning the file will take a while, depending on how busy yo...
“You cannot with Git as it operates on a whole-repository basis.” If you have svn, you can use svn export to do this: svn export https://gi...