코딩 썸네일형 리스트형 git bash로 github에 폴더 업로드하기 1. github에 업로드할 폴더의 상위폴더에서 git bash 열기 2. git bash cmd창에서 순서대로 입력하기 $ git status $ git add 원하는폴더이름 $ git commit -m "원하는내용" $ git remote -v $ git push origin master - 먼저 status 명령어로 어떤 상태인지 확인해준다. (modified면서 unstaged인 폴더가 있는 경우에만 업로드 가능) - 원하는 폴더를 status에 staged해준다. - staged한 폴더에 commit을 달아준다 - 이미 상위폴더에 git이 연결되어있다면 remote -v로 연결해주고, 연결되어있지 않다면 remote add origin "자신의 리포지터리 주소" 로 github 주소를 연결해준다.. 더보기 20190910 1. String to int, int to String 형변환하는 거 잊음. String to int String f="123"; int t=Integer.parseInt(f); int to String int f=123; String t=Integer.toString(f); https://nota.tistory.com/49 2. int값 여러 개 받는 거 잊음. Scanner sc = new Scanner(System.in); int a=sc.nextInt(), b=sc.nextInt(); https://limkydev.tistory.com/170 3. 포맷 형태로 출력하는 거 잊음. int age=10; System.out.printf("%d%n",age); https://keep-cool.tist.. 더보기 이전 1 다음