I use SapWEB IDE Full Stack for SapUI5 Project
and I want to commit
my work but unfortunately I have to pull
before and I don't want because my version is stable and I want to push
It, but I can't Push without Pull and merge before
.
My idea is to delete
the GIt project
and to set up a new from scratch.
I knew that i can remove the .git directory
but In Sap WebIde there isn't accessible folder .git.
How can I do that . And Is it the best solution.
Thanks!
Web IDE is pretty clamped down and there are no CLI commands to execute. You can however use cloud platform git on your own machine like you would github or bitbucket or a service like that, and in that case the git command line is yours to use however you want. What I've done in the past is clone the repo from cloud platform and force push changes from my laptop. Be careful of the email address you use, depending on the cloud platform setup this might need to be your corporate account or something. It's not exactly what you asked for but it's often enough to fix a bad situation.