Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- 쿠버네티스 유저
- Instrumentation libraries
- 워커 노드
- 쿠버네티스
- 컨테이너 런타임
- 오픈텔레미트리
- 왜 쿠버네티스
- 기저조건
- 워커 노드 구조
- 장단기 금리 차
- worker node
- opentelemetry
- controller manager
- 쿠버네티스 네터워크
- 깃
- container runtime
- k8s
- Kubernetes User
- Branch
- 마스터 노드
- 종결 조건
- GIT
- COMMIT
- Dag
- master node
- Data store
- Kubernetes Architecture
- 쿠버네티스 구조
- worker node architecutre
- smart money
Archives
- Today
- Total
개발과 잡지식
Git03 - Git alias 본문
git alias
명령어에 별명을 붙여서 사용하는 방법이다.
git checkout master => git co master
git status => git st
git commit -am "something" => git cm -am "something"
위와 같이 명령어가 짧아지는 것을 볼 수 있다.!
setting
unix 기반인 컴퓨터들은 mac, 우분투
~/.gitconfig 파일에 아래 내용을 붙여 쓰면 된다.
- vi, vim, nano, gedit 다 가능 하다.
윈도우는.. 아마 사용자 폴더 아래에 .gitconfig 찾아서 변경해 주면 될것 같다.
[alias]
co = checkout
rb = rebase -i HEAD~
st = status
cm = commit
pl = pull
ps = push
lg = log --graph --abbrev-commit --decorate --format=format:'%C(cyan)%h%C(reset) - %C(green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(yellow)%d%C(reset)' --all
ad = add
tg = tag -n
df = diff
br = branch
출처 및 참고 : https://jeonghwan-kim.github.io/2016/08/16/git-alias.html
'git' 카테고리의 다른 글
Git04 - Git ignore (0) | 2020.12.25 |
---|---|
Git02 - Git remote and local (0) | 2020.12.25 |
Git01 - Git branch, Commit (0) | 2020.12.25 |
Git00 - Git 이란? (0) | 2020.12.25 |