입사 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 구차니
Programming/css2018. 8. 21. 19:33

'Programming > css' 카테고리의 다른 글

sass scss  (0) 2018.09.05
hover inline css  (0) 2018.08.27
css BEM( Block Element Modifier)  (0) 2018.08.21
css float overflow  (0) 2018.08.20
css 우선순위  (0) 2018.08.09
Posted by 구차니
Programming/css2018. 8. 21. 18:13

css를 작성하다 보니

어떻게 운용해야 할지 고민하다가 찾는중.

BEM은 일종의 클래스 명 작성규칙이고

쓰기 나름이긴 한데.. 어떤식으로 운영하는게 나을지 모르겠다...


예를들면.. 색상에 대한 class와 font에 대한 클래스를 구분하고

사용하는 곳에서 복수개의 class를 사용하는 방법과


특성에 따른 class를 개별로 정의하여 사용하냐 정도의 차이?


[링크 : https://www.vobour.com/-css-디버깅-시간을-절약-할-수있는-css-명명-규칙]

[링크 : https://windtale.net/blog/maintainable-expandable-front-end-web-strategy/]

[링크 : http://wikibootup.org/post/css-co-work/]

[링크 : https://hyeonseok.com/docs/about-css/]


'Programming > css' 카테고리의 다른 글

hover inline css  (0) 2018.08.27
css selector  (0) 2018.08.21
css float overflow  (0) 2018.08.20
css 우선순위  (0) 2018.08.09
css 문법 - id / class  (0) 2016.01.11
Posted by 구차니
Microsoft/Windows2018. 8. 21. 17:26

아는 분이 백업을 했는데 용량이 이상하게 적게 나온다고 해서 보는데 멘붕..

일단 cmd에서 관리자 권한 / 일반권한 모두 둘다 26기가 정도 나오는데

탐색기에서 속성을 통해 보면 11기가로 나온다.


아무튼 다른 유틸리티를 통해서 디렉토리 용량을 봐도 정상적으로 나오는데

탐색기에서만 그런걸 봐서는 탐색기 문제인듯


Explorer bug: file enumerations

Within my German blog I got feeback, that enumerating a folder’s content in explorer just returns wrong data. A 2TB-HD contains e.g. real 43.048 files, 4.123 files and occupies 735 GB. Listing the folder properties in Windows 1803 will display: 4,104 files, 2,113 folders an a size of 98.9 GB. Only if the user go to the folder, select all files (and subfolders) with CTRL+A, then the properties are calculated correctly (in this case). 

[링크 : https://borncity.com/win/2018/05/04/windows-10-april-update-bugs-and-issues/]

    [링크 : https://answers.microsoft.com/.../windows_10-files/windows-user-folder-size-less-than-actual-size...5]

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

iis 401.3 - Unauthorized  (0) 2018.08.27
서피스 펜(바로가기 버튼) + devcon  (4) 2018.08.22
win10 가상 데스크탑 간 창 이동하기  (0) 2018.08.21
devcon 으로 장치 사용하지 않기  (0) 2018.08.21
onenote 고민중..  (0) 2018.08.17
Posted by 구차니
Microsoft/Windows2018. 8. 21. 10:41

기본적으로 제공을 하지 않는 기능인가...


[링크 : https://github.com/Eun/MoveToDesktop]

   [링크 : https://superuser.com/...-move-current-window-to-another-task-view-desktop-in-windows-10]

Posted by 구차니