cleaning my repo
@fibasile Hello Fiore, i'm trying to clean my repo. but i'm stuck for some permission i don't have. (i can understand why)
so for the story. i upload some videos in the wrong folder in my computer and big gifs too. and made So many push that my folder history folder is huge. but my real folder is "only at 180Mo now. so i choose to follow a tutorial to remove all my useless and full history.
git checkout --orphan newBranch
git add -A # Add all files and commit them
git commit
git branch -D master # Deletes the master branch
git branch -m master # Rename the current branch to master
here everything works fine. but when it was time to push into gitlab. i needed a permission.
git push -f origin master # Force push master branch to github
git gc --aggressive --prune=all # remove the old files
can you help me with this part please?
Ps: for the moment i'm pretty stuck for uploading too. can't pull or merge..
Regards Adel Kheniche