You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I updated to 3.0.12 this morning, and ever since I can no longer do a force push, which I often use in combination with Amend latest commit. The option is enabled in Options, Git. And I also checked/unchecked 'Use Safe Force Push'.
When the checkbox for Force Push is checked, and I click 'Ok' in the Push window, the window closes but nothing happens.
The workaround I found is to manually enter the git command: when I manually do "git push --force etc" the push is executed. There is no error.
I was seeing the same issue. Here is a workaround inside SourceTree itself instead of via the command line:
Open the SourceTree Options, go to the Git tab and uncheck the "Check submodules before commit & push" option.
You should probably not use this workaround if your submodules are under active/frequent development, but if they're relatively stable, then it should be safe.
I don't know the underlying reason this is happening, but at least this should allow you to force push again.
Hi
Is there anything indicating an error in the console? You can make sure the console stays open by checking the 'Always display full console output' option in the Tools/Options/General tab
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, there is nothing indicating an error in the console. I have checked 'Always display full console output' now. After clicking on the button 'Push' the Submodule check window is shown very briefly. It's almost as if it finds there is nothing to push. My local branch is checked by the way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have been experiencing exactly the same thing since upgrading to 3.0.12. I would appreciate any suggestions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does the repository have submodules? If so are your changes in the parent or submodule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In our case, yes, the repo has one sub-module. The failed force pushes have been to the parent, however.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same issue here, and it seems to only be when projects have submodules
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the information I've raised the following ticket, please add any additional details there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Link to the issue (if someone else is looking for this):
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.