Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
kamen69253yAs long as you're the only one pushing to that branch (or, if someone else does too, they should pull first), it should be fine. It can create a mess if you or someone else force pushes to a shared branch.
-
@kamen Force pushing to any branch without contacting everyone who's pushing to it is obviously stupid. It's like saying "shovels aren't a health risk until you hit someone with the edge".
-
kamen69253yDepends on the workflow you've agreed on. If everyone has their own feature branch, it's fine. As an extra precaution you can use --force-with-lease instead of --force.
-
@kamen We are looking for other develpers since 2017.
If you are interested you welcome.
P.S. most projects are in PHP and were built from the scratch. -
@kamen If everyone has their own feature branch then "people pushing to the branch" is you, and you've already contacted them. My statement stands, force-pushing before contacting everyone who's pushing to the branch is stupid.
Related Rants
For the first time in my life I removed a wrong commit with git rebase and I did not made a mess.
More then 10 years of using git and keep learning.
rant
git