I got myself in some trouble here. I accidentally tried to push a big file and got an error. When I tried to reverse the commit, it just created another push. When i try to push, I blows up again. It's like there is a push log jam. How do I get rid of these unwanted pushes?
The Push Indicator just reflects that your local copy of the repo is # of commits ahead of the remote.
Assuming the just want to get rid of the last 2 commits, then you can right click on 3rd from last commit and choose "Reset current branch to this commit" and then decide if you want to keep any of the changed files or not, if not select the 'Hard' reset and your local repo will return to that state, before you committed the large file.
For what its worth have you looked at Git-LFS for storing large files in Git?
I was finally able to test this and it worked. Thank you. I did look at Git-LFS and that didn't solve my immediate problem. Quite frankly, I don't think data files belong on GitHub at all which is what i was trying to push in the first place. There are better solutions to that.
Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going. The ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events