We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat/conflict
conflict/Conflict.java
public class Conflict { public static Integer getLength(String str) { return str.length(); } public static void main(String[] args) { String s1 = "hello"; System.out.println("hello's length: " + getLength(s1)); } }
$ git add . $ git commit -m "feat: conflict commit" $ git push <YOUR_ID> feat/conflict
Make PR, then you can check conflict. feat/conflict_base ◀️ feat/conflict
feat/conflict_base
Merge feat/conflict_base at local
$ git merge origin feat/conflict_base
package conflict; public class Conflict { public static Integer getLength(String str) { return str.length(); } public static void main(String[] args) { String s1 = "hello"; String s2 = "world"; System.out.println("hello world's length: " + getLength(s1)); } }
$ git add . $ git commit -m "fix: resolve conflict" $ git push <YOUR_ID> feat/conflict
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Practice: conflict
feat/conflict
branch at local and createconflict/Conflict.java
file like below.Make PR, then you can check conflict.
◀️
feat/conflict_base
feat/conflict
Merge
feat/conflict_base
at localfeat/conflict
The text was updated successfully, but these errors were encountered: