DEV Community

Discussion on: 💡 Useful Git Commands you need to know 💡

Collapse
 
darthbob88 profile image
Raymond Price • Edited

My current project at work requires a lot of little changes to build locally, changes which I can't push up to master.

My workaround is to create a branch with one commit containing those changes, git cherry-pick it into my current working environment, then git rebase -i to remove it from the changes I'm going to push.

Collapse
 
kaiwalyakoparkar profile image
Kaiwalya Koparkar

Thanks for that information. I will do quick research on that commands and will sooner add them....😀