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 |
Tags
- Kubernetes User
- master node
- Data store
- 깃
- 컨테이너 런타임
- Branch
- worker node architecutre
- container runtime
- 오픈텔레미트리
- opentelemetry
- controller manager
- k8s
- worker node
- 왜 쿠버네티스
- 마스터 노드
- Instrumentation libraries
- 쿠버네티스 구조
- 쿠버네티스
- 장단기 금리 차
- 쿠버네티스 유저
- 기저조건
- GIT
- 쿠버네티스 네터워크
- COMMIT
- smart money
- 워커 노드 구조
- 종결 조건
- Dag
- Kubernetes Architecture
- 워커 노드
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 |