The few times i have pushed code to the repo when it's not ready.

Granted it was so i can carry on working on it elsewhere but it wasn't my proudest moment.

  • 3
    i did that too. source control must help me reach my code anywhere right ? so what if it is incomplete ? my work on it is not finished. i think it's no problem as long as it builds.
  • 5
    Only important thing is if you have colleges working in the same code base better use a branch for broken checkins so you don’t break their day.
  • 3
    @Voxera exactly
  • 2
    @Voxera is right! I do it all the time. Makes sure of an of premises backup. Just use topic branches. Add Todo list or at least WIP statement in your commit. You can squash merge the feature or rebase if you want your history clean.
Add Comment