git diff origin/develop = git diff a b
a - origin/develop b- current branch
git stash save "name"
git stash apply/pop stash@{0}
git checkout origin/develop <file name>
git add --all select what to commit
git checkout file - exclude from commit
a - origin/develop b- current branch
git stash save "name"
git stash apply/pop stash@{0}
git checkout origin/develop <file name>
git add --all select what to commit
git checkout file - exclude from commit
No comments:
Post a Comment