본문 바로가기

2017/084

[Hoon] ellipsis - CSS3 text-overflow Property CSS3 text-overflow Property Use of the text-overflow property: div { text-overflow: ellipsis; } Definition and Usage The text-overflow property specifies how overflowed content that is not displayed should be signaled to the user. Default value: clip Inherited: no Animatable: no. Read about animatable Version: CSS3le.textOverflow="ellipsis" JavaScript syntax: object.style.textOverflow="ellipsis".. 2017. 8. 16.
[Hoon] Git - Branch / Merge / Tag git checkout -b feature_x - “feature_x” 라는 branch 를 만들고 해당 branch 로 checkout git checkout master - master branch 로 돌아오기 git branch -d feature_x - branch 삭제 git push origin - push 가 되지 않으면 다른 사람들이 접근이 안됨 git pull - 로컬 저장소를 원격 저장소에 맞춰 갱신 git merge git tag 1.0.0 Discard / Revert / Reset Discard(Undo) - git checkout -- - Revert - Reverse Commit - 삭제 하지 않음, 순차적으로 진행. Reset - 삭제, 여러 단계를 뛰어 넣어서 가능 bit... 2017. 8. 2.
[Hoon] Git guide- https://rogerdudler.github.io/git-guide/index.ko.html Git guide- https://rogerdudler.github.io/git-guide/index.ko.html Git 저장소 만들기 - git init 폴더를 하나 만들고, 그 안에서 git init 을 실행. Git 저장소 받아오기 - git clone /로컬/저장소/경로 git clone 사용자명@호스트:/원격/저장소/경로 Working direcotry, Working copy -> add Unstaged / Staged(Index), Uncommitted changes/ HEAD(commit) Git Commit - only local / Push - remote Commit git add , git add * , git commit -m “comment”(HEAD 에 반영) 원격 저장소에 .. 2017. 8. 2.
[Hoon] Git 설치 - git-scm.com Source Code - https://github.com/git/git Linux - $yum install git-core Ubuntu - $apt-get install git Mac 에 설치하기 - https://git-scm.com/download/mac Window - https://git-scm.com/download/win SourceTree - www.sourcetreeapp.com Sourcetree | Free Git GUI for Mac and Windows A Git GUI that offers a visual representation of your repositories. Sourcetree is a free Git client for Windows and Mac. www.sou.. 2017. 8. 2.