2011년 5월 30일 월요일

2011년 5월 23일 월요일

ssh-keygen

ssh 문제:
Host key verification failed 가 나오면
ssh-keygen -R 연결하려는 IP를 입력
그럼 ~/.ssh/known_hosts와 known_hosts.old가 생긴다.
다시 ssh에 접속하면 key추가 메시지가 나온다.
done

2011년 5월 22일 일요일

atmega128 개발 환경 구축

ISIS 7 Professional(none free)
CodeVisionAVR V2.03.4(none free)
VSPE(32bit free)

windows xp sp3


2011년 5월 19일 목요일

git command

git reset --hard HEAD~1 : HEAD commit 취소
git reset --hard HEAD~2 : HEAD~2 번째까지 commit 취소

git cherry-pick -n commit_hash

commit을 현재의 브랜치의 index에 놓는다.
git push --tags : 원격의 tag들 모두 가져온다.

git push 명령


git push origin ios --force

원격 origin/ios에 지역 브렉치 ios를 강제로 pushing 한다.

git reset 명령

git reset --soft HEAD~2

HEAD부터 두번째를 soft 방법으로 reset 한다.

index에 들어가있으니까 상황봐서 commit하자.

git commit -a(no add) -c(vi) ORIG_HEAD

git reset 명령 직전의 HEAD의 commit comment를 vi띄워서 입력한후 저장하면
새로운 comment의 commit 된다.

git HEAD^ 문제

윈도우에서는 ^ 먹지 않는다.