Skip to content
New issue

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

Branch2 #89

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
sampleTest
web-ext-artifacts
web-ext-artifacts
ignore.txt
2 changes: 2 additions & 0 deletions Conflict.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
In this file I will create merge conflict.
I have solved it.
32 changes: 32 additions & 0 deletions JavaFile.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
public class JavaFile {

int variable;
String works;

public JavaFile(){
variable=23;
works="Nothing";
}

public JavaFile(int v, String s) {
variable=v;
works=s;
}

public int getVariable() {
return variable;
}

public void setVariable(int variable) {
this.variable = variable;
}

public String getWorks() {
return works;
}

public void setWorks(String works) {
this.works = works;
}

}
36 changes: 36 additions & 0 deletions JavaFile2.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/**
* JavaFile2
*/
public class JavaFile2 {

int roll;
String name;

public int getRoll() {
return roll;
}

public void setRoll(int roll) {
this.roll = roll;
}

public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

public JavaFile2(){
roll=1807074;
name="Shafin";
}

public JavaFile2(int roll, String name) {
this.roll = roll;
this.name = name;
}


}
1 change: 1 addition & 0 deletions branch_conflict.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Second File.