# git建branch & push branch ###### tags: `git` `github` ==以下示範branch名稱為jin== * **第一步的git clone 指令**  **還不會的可以參考我的另一篇文章:** [學會使用Git與GitHub](https://hackmd.io/@KikiJin24/tutorial_github) --- * **建立branch** git branch jin * **switch to branch** git checkout jin  * **push branch** git push origin jin  * **補充: 相當於建立branch + checkout到branch的指令** git checkout -b jin * **補充:** cd的意思是change direction(切換路徑),可以用切換到你想去的資料夾,寫法是用相對路徑
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.