Do I have to commit my changes before pulling in Git? -
Do I have to commit my changes before pulling in Git? -
it looks i'm missing basic understanding of git pull
, git commit
, let's i'm working of branch , updated other developer while doing job locally. should commit changes before issuing git pull
or should git pull
, git commit
?
you can commit anytime want - commits local.
it's when need push
server need have latest copy. it's thought pull
remote repository before push
changes.
so, think mean "should push changes before issuing git pull or should git pull , git push". should ideally pull
before push
adheres basic thought of adding code recent re-create of public repository.
you might notified of merge conflicts obtained merging public repository, need resolved before can force changes.
git
Comments
Post a Comment