git - Cannot clone my bitbucket repository after doing a commit with a 3.6 GB bin file -


i relatively new git user , have bit of strange situation. wanted push few changes bitbucket repository. however, forgot pull updated version first changes done team-member. got error push command (using jenkin deploy) should pull changes first. @ point had executed following commands:

git add files  git commit -m "commit message" jenkin deploy # here got error 

after error message, pulled updated version master branch using git pull resulted in conflict. resolved conflict version in pycharm (ide, in use). conflict version number. after that, did commit (merge commit).

git commit 

however, cannot enter src folder in bitbucket. nothing happens when click on src folder. cannot clone repository. can open rest of folders. 500 error when try open commit e3895f0 (in below screenshot) executed before pull command. rest of commits, can open them. can't figure out. either wrong on bitbucket side can open other folders or broke something. commit executed properly? ran git fsck , found 1 dangling blob item not sure if that's going help.

update 1: in specific commit before merge, committed new bin file size of 3.6 gb. reason chaos?

update 2: reverted changes , went older commit before problematic commit. clone repository older commit, however, still unable access src folder.

update 3: did hard reset deleting commits since problematic commit solved problem. can access src folder. aware it's dangerous approach, however, in specific case, these new changes not pulled others.

git reset --hard thecommit-before-problematic-commit git push -f 

however, question still remains, how can efficiently use huge file in repository without causing problem again? it's 3.6gb google word2vec model.

here commit tree: problematic commit can seen in screenshot (e3895f0 ). enter image description here


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -