You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's assume there are master branch, a branch, and b branch.
If branch a sends a pull request to the master branch and master merges the branch, a conflict may occur when branch b pushes. At this time, branch b is working on a feature.
Action tips for branch b
git stash
git stash is a Git command that temporarily saves the current working changes and restores the working directory to a clean state.
In other words, it allows you to store uncommitted changes and apply them later when needed.
git pull origin master
git stash pop
git stash pop applies the most recent stashed changes and removes them from the stash list.
If you go through the above process, the commit time in git staging will match, so there will be no conflict.
The text was updated successfully, but these errors were encountered:
Let's assume there are master branch, a branch, and b branch.
If branch a sends a pull request to the master branch and master merges the branch, a conflict may occur when branch b pushes. At this time, branch b is working on a feature.
Action tips for branch b
git stash is a Git command that temporarily saves the current working changes and restores the working directory to a clean state.
In other words, it allows you to store uncommitted changes and apply them later when needed.
git stash pop applies the most recent stashed changes and removes them from the stash list.
If you go through the above process, the commit time in git staging will match, so there will be no conflict.
The text was updated successfully, but these errors were encountered: