manywaypark's Blog
개발, 검색, 함수

git/gitolite - remote branch 삭제하기

tips & tricks 2013. 11. 19. 13:59 by manywaypark

gitolite 관리자 권한으로,

git branch -d -r origin/branch-name

git push origin :branch-name # =:= git push origin --delete branch-name


refs: 

http://www.markhneedham.com/blog/2011/06/28/git-deleting-a-remote-branch-on-a-gitolite-configured-repository/

http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-remote


happy hackin'

tramp를 쓰면 간단히 해결된다.
TRAMP는 "Transparent Remote (file) Access, Multiple Protocol"의 줄임말이다.
.emacs에 다음 내용을 추가한다.

(require 'tramp)
(setq tramp-default-method "scp")


파일을 열때 (C-x C-f) 입력형식:
/host:path/to/file


원격 파일을 편집하는 도중에 M-x shell을 해보라. 원격지의 shell이 뜬다. 이게 아마도 file을 괄호친 이유일까?

언제봐도 emacs는 간결하고 아름답다.

2008-11-10 약간의 응용(로컬 파일을 루트 권한으로 다시 열기)
C-x C-f /sudo::/path/to/file RET
KLDP에 내가 답변으로 올렸던 글인데... 매번 까먹는다. 이놈의 건망증이란... Orz.

2017-03-22 포트번호 지정(default 22번이 아닐 때):
C-x C-f /ssh:test@host#2222:/tmp
ref: https://www.emacswiki.org/emacs/TrampMode#toc28


1 
분류 전체보기 (306)
잡담 (20)
함수형 언어 (65)
emacs (16)
java (18)
tips & tricks (154)
사랑 (1)
가사 (0)
독서 (4)
mobile (6)
비함수형 언어 (2)

공지사항

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

04-19 11:47