본문 바로가기

이것저것(독후감같은거)28

(git flow) delete local branch : git branch -D feature/nflash 로컬브랜치를 삭제 하는 방법이다. 1) 브랜치 목록을 보고 catherineui-MacBook-Pro:Kler catherine$ git branch * develop feature/nflash master origin 2) feature/nflash로컬브랜치를 삭제catherineui-MacBook-Pro:Kler catherine$git branch -D feature/nflashDeleted branch feature/nflash (was f7c7a44). catherineui-MacBook-Pro:Kler catherine$ git branch * develop master origin 3) 다시 체크아웃 catherineui-MacBook-Pro:Kler catherine$ git checkou.. 2015. 11. 10.
git merge to feature/blabla from develop 상황 * git flow feature브랜치 작업이 길어지거나 * hotfix로 작업된 코드를 머지 하고 +feature 를 유지해야 하는 경우git checkout feature/bla ->git merge develop ->git push -u origin feature/bla(저런 경우 어떻게 올라가는지 궁금하여 테스트) 1) develop에서 feature start catherineui-MacBook-Pro-3:python_sam catherine$git checkout developSwitched to branch 'develop' Your branch is up-to-date with 'origin/develop'. catherineui-MacBook-Pro-3:python_sam cathe.. 2015. 11. 10.
git tag 삭제 + 같은 tag 명으로 다시 생성 git flow로 브랜치를 관리 하고있다. tag생성을 잘못했다.. (아직 하면 안되는데 ..) 1) 일단..삭제부터..git push --delete origin 1.0.4git tag -d 1.0.4 (t-image-pssor)caui-MacBook-Pro-3:t-image-pssor ca$git push --delete origin 1.0.4To https://github.dk.com/rtf/t-image-pssor.git- [deleted] 1.0.4(t-image-pssor)caui-MacBook-Pro-3:t-image-pssor ca$ git fetch (t-image-pssor)caui-MacBook-Pro-3:t-image-pssor ca$ git tag -l 1.0.0 1.0.1 1.0.. 2015. 11. 10.
jenkins rest-api 로 job health-check 젠킨스로 거의 모든 배치성 일들을 수행하고 있다. 젠킨스 rest-api 로 job을 모니터링하고 , health-check를 하는게 좋을것 같아서 뜨든! http://jenkins_server_name.com:port/api/json?tree=jobs[displayName,lastBuild[number,result,timestamp,id],url,inQueue,queueItem,nextBuildNumber]&exclude=hudson/job[lastBuild[result=SUCCESS]] http://jenkins_server_name.com:port//api/json?tree=jobs[lastStableBuild[number],firstBuild[number],buildable,displayName,.. 2015. 11. 10.