# Git Alias 安裝 ## 介紹 git alias 是一個很方便的東西、抓別人的 git alias 更方便,所以... https://github.com/GitAlias/gitalias#what-is-git-alias ## 下載 連結點[這](https://raw.githubusercontent.com/GitAlias/gitalias/master/gitalias.txt),把它下載到 cygwin user 的家目錄底下 ## 安裝 為了安裝一遍之後,所有的 repo 都可以用、因此我們要安裝在 git 的 global setting 裡面 以 Mac 的 terminal 為例:.gitconfig 在 unix/linux 系統底下都是放在 user folder 裡面  因此把剛剛下載的檔案放到 user folder 之後、增加指令 .gitconfig 如下圖 (把 cchsu20 改成你自己的 user name)  然後重開 terminal 之後,隨便進入一個有 git 的資料夾,輸入 git ss 或是 git s 就可以看到成果了  詳細的 command 列表都在檔案裡,我常用的是 1. git a = git add 2. git c = git commit 3. git ss = git status --short 4. git ca = git commit --amend 5. git co = git checkout ###### tags: `git`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up