Alright, I have a development branch that is tracked remotely and shared by everyone on this project.
Locally I have branched off of this to do some ongoing work. However, in the mean time another developer has committed and pushed changes to the development branch that I would like reflected in my local branch. Is this the time to rebase?
I don't want to simply commit my local branch to development and then start a new branch because I would like to maintain my commit history.
As I understand it, rebase would take the development branch at HEAD and re-apply all of my commits over top of it, but will that overwrite the other developer's changes without throwing a conflict if we have made changes to the same lines?
.gitignoreso that you don't have extra files getting in your way, and usegit stashif you have half-finished changes that you're not ready to commit.git statusshould report that there's nothing to commit unless you are actively working on something.