'2018/08/22'에 해당되는 글 7건

  1. 2018.08.22 서피스 펜(바로가기 버튼) + devcon 4
  2. 2018.08.22 그림자 분신술이 필요한건가.. 2
  3. 2018.08.22 웹페이지 탭메뉴 만들기
  4. 2018.08.22 네이버 맵 API
  5. 2018.08.22 git rm 복구하기
  6. 2018.08.22 git branch
  7. 2018.08.22 git add / reset / checkout
Microsoft/Windows2018. 8. 22. 15:39

일단은 devcon을 받아서 압축해제 하고 확장자 바꾸어 준 다음 적절하게 설정을 해서 사용!

터치패드 죽여 버리면 아무래도 팜 리젝션 신경 안써도 될테니 조금은 쓰기 편해지려나?


devcon을 바로가기 만들고

대상에다가 절대경로로 쳐주고 enable 이후에 @장치아이디를 해주면 되는데

실행을 "기본 창"으로 해주면 창이 나타났다 사라져서 불편하니 "최소화"로 설정해주면 깔끔해진다.

(물론 관리자 권한 실행하는건 잊지 말고!)


제어판 - 펜 쳐서 들어 오면

펜 바로가기에서 서피스 프로 3용 펜은 바로가기 단추가 있어서 이걸 설정하는데

가끔 습관적으로 한번 누르곤 하니 한번 클릭은 터치 스크린 활성화, 두번은 비활성화로 설정


'Microsoft > Windows' 카테고리의 다른 글

win10 바탕화면 바로가기  (4) 2018.09.11
iis 401.3 - Unauthorized  (0) 2018.08.27
win10 1804 버그.. -_-  (0) 2018.08.21
win10 가상 데스크탑 간 창 이동하기  (0) 2018.08.21
devcon 으로 장치 사용하지 않기  (0) 2018.08.21
Posted by 구차니

입사 8월 6일..

그동안

git

html5 / css 를 주력으로 보고 있는데

내가 보는게 느린건가.. 내 능력이 부족한건가

너무너무 시간이 빨리 가고

너무너무 시간이 부족하다는 느낌이 든다..


9월 말까지 두개의 프로젝트..

하나는 영업적으로 조금 연기해야할 필요가 있고(고객사가 무리하게 일정 댕기는 중)

하나는 어찌 될거 같긴한데...


아무튼 올해 목표는 일단.. 웹 퍼블리셔 능력은 갖추고 고민해보자 ㅠ

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

읭? 타겟 광고인가?  (4) 2018.09.28
쓸데없는 지름신 목록  (4) 2018.08.26
갑자기 가을  (0) 2018.08.16
출근길 소확행  (0) 2018.08.07
퇴근하니.. 8시..  (2) 2018.08.06
Posted by 구차니
Programming/web 관련2018. 8. 22. 14:02

메뉴는 ul / li를 통해서 css 적용해 만들고

웹 페이지에서는 표시할 데이터를 놔두고

display:none; 과 display:inline-block;을 이용하여 출력/숨기기를 하는 듯


[링크 : http://imivory.tistory.com/8]

'Programming > web 관련' 카테고리의 다른 글

html button tag  (4) 2018.08.27
table border-spacing  (0) 2018.08.27
시맨틱 코드  (2) 2018.08.21
sketch 플러그인  (0) 2018.08.13
jquey dom  (0) 2018.08.10
Posted by 구차니
Posted by 구차니

git rm 으로 삭제한 파일은 두단계를 거쳐서 복구해야 한다.

git reset HEAD <filename>

git checkout -- <filename> 

[링크 : https://stackoverflow.com/questions/11727083/how-to-recover-file-after-git-rm-abc-c]


+

$ git rm style.css

rm 'web/css/style.css'


$ git st -s

D  style.css


$ git reset HEAD style.css

Unstaged changes after reset:

D       web/css/style.css


$ git st

 D style.css


$ git checkout -- style.css


$ ll

total 12

-rw-r--r-- 1 user 197121 1831 8월  22 10:52  style.css 


'프로그램 사용 > Version Control' 카테고리의 다른 글

git 원격지 주소 변경하기  (0) 2018.09.06
git archive (svn export)  (0) 2018.09.05
git branch  (0) 2018.08.22
git add / reset / checkout  (0) 2018.08.22
git 커밋이 안될 때? (no changes added to commit)  (0) 2018.08.20
Posted by 구차니

실습을 따라해보니 조금 감이 잡히는 듯..

일단 브랜치 간에는 commit 되지 않은 수정이 사항이 있을때에는 이동이 불가하다

$ git st -s

 M myfile.txt


$ git checkout issue1

error: Your local changes to the following files would be overwritten by checkout:

        myfile.txt

Please commit your changes or stash them before you switch branches.

Aborting 


git merge는 합병할 다른 브랜치를 "끌어온다"

즉, master에 다른 브랜치를 합치려면 master에서 다른 브랜치를 끌어와야 한다.

$ git merge 다른브랜치이름 

[링크 : https://backlog.com/git-tutorial/kr/stepup/stepup1_1.html]


+

svn과 다른 점이라고 하면..

일단 svn은 다른 경로의 것을 checkout 받거나, 새로운 경로에 받아서 쓰는 개념이라면

git은 현재 저장소에서 다른 경로의 것을 내부적으로 관리하여 오간다는 개념?



+

브랜치 따서 commit 하고 push 하려는데 에러 발생!

$ git push

fatal: The current branch test has no upstream branch.

To push the current branch and set the remote as upstream, use


    git push --set-upstream origin test 


svn과 다르게 git는 저장소에 다가 branch에 올린다고 알려주어야 하는 듯

(어짜피 svn에서 tags나 branch도 폴더니까 별 의미없었지만) 어떤 의미로는... cvs에 좀 더 가까운 느낌?


로컬 저장소에서 변경된 사항들을 리모트 저장소에 반영할 때에는 push 명령어를 통해 할 수 있는데 처음 push를 할 경우 해당 로컬 브랜치가 어느 리모트 브랜치에 push해야하는지 알려줘야 한다. 

[링크 : https://lee-seul.github.io/git/2017/01/27/git-for-team-teams-of-one.html]

'프로그램 사용 > Version Control' 카테고리의 다른 글

git archive (svn export)  (0) 2018.09.05
git rm 복구하기  (0) 2018.08.22
git add / reset / checkout  (0) 2018.08.22
git 커밋이 안될 때? (no changes added to commit)  (0) 2018.08.20
git st (alias 사용하기)  (0) 2018.08.14
Posted by 구차니

파일 생성/수정 -> untracked

untracked -> git add -> stage

stage -> git reset -> untracked/unstage

$ touch ss

$ git st -s

?? ss

$ git st

On branch master

Untracked files:

  (use "git add <file>..." to include in what will be committed)


        ss


nothing added to commit but untracked files present (use "git add" to track)

$ git add ss

$ git st

On branch master

Changes to be committed:

  (use "git reset HEAD <file>..." to unstage)


        new file:   ss


$ git st -s

A  ss

$ git reset ss

$ git st -s

?? ss


---

$ git checkout 명령은 어떻게 보면..

$ git status -s 와 비슷한 결과가 나오네..?

별다르게 파일을 수정하거나 받아오지 않고 단순하게 현재 상황만 보여준다.


대신 파일이름을 적어주면

$ git checkout filename

수정된 파일을 저장소에 관리되는 버전으로 끌어오게 된다.(수정사항이 사라짐)

svn으로 치면.. 파일 삭제하고 checkout 하는 느낌?


$ rm myfile.txt

$ ll

total 0

$ git st -s

 D myfile.txt

$ git checkout

D       myfile.txt

$ ll

total 0

$ git checkout myfile.txt

$ ll

total 1

-rw-r--r-- 1 classact 197121 49 8월  22 10:15 myfile.txt 

[링크 : https://www.zerocho.com/category/Git/post/581b7122809622001722fc0b]

[링크 : https://backlog.com/git-tutorial/kr/stepup/stepup2_1.html]


+

git 도움말 추출

svn의 checkout과는 용도가 다르군..

git-checkout - Switch branches or restore working tree files 


'프로그램 사용 > Version Control' 카테고리의 다른 글

git rm 복구하기  (0) 2018.08.22
git branch  (0) 2018.08.22
git 커밋이 안될 때? (no changes added to commit)  (0) 2018.08.20
git st (alias 사용하기)  (0) 2018.08.14
git status -s  (0) 2018.08.14
Posted by 구차니