{{ }}을 사용하여 리스트 초기화List list = new ArrayList() {{
add("Apple");
add("Banana");
add("Cherry");
}};
Arrays.asList() 메서드 사용List list = new ArrayList<>(Arrays.asList("Apple", "Banana", "Cherry"));
List.of() 메서드 사용List list = new ArrayList<>(List.of("Apple", "Banana", "Cherry"));
List list = new ArrayList<>();
Collections.addAll(list, "Apple", "Banana", "Cherry");
git add . (모든 파일 추가)git reset [src/main/ ~ ] (reset으로 특정 파일/디렉토리 제외)git commit -m "" (제외된 파일 빼고 커밋)git show