Let's say we have commit A
and B
, and B
depends on A
's modification.
We want to revert A
, will that be successful? Also, what would happen if a line added by 'A' is no longer present?
相关问题
- Is shmid returned by shmget() unique across proces
- how to get running process information in java?
- JQ: Select when attribute value exists in a bash a
- Error building gcc 4.8.3 from source: libstdc++.so
- Why does recursive submodule update from github fa
git
will report that the revert resulted in a conflict.git status
will show the unmerged paths.You can resolve the conflict like any other.
Edit with example:
In the case that the first commit added the file and the second modified that file, git status will show this: