This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Node { | |
public static void main(String[] args) { | |
Node rootNode = new Node(22); | |
Node node1 = new Node(33); | |
Node node2 = new Node(44); | |
Node node3 = new Node(55); | |
Node node4 = new Node(66); | |
rootNode.setNext(node1); | |
node1.setNext(node2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add SSH key | |
https://docs.github.com/en/authentication/connecting-to-github-with-ssh | |
// Overwrite main branch with task-branch | |
git checkout master | |
git pull | |
git checkout task-branch | |
git merge -s ours main | |
git checkout main | |
git merge task-branch |