LoginSignup
0
0

More than 5 years have passed since last update.

Git 的街頭巷弄小招式

Posted at

這篇的內容將會不定期更新~ :smiling_imp:

取得當前的 branch name

$ git rev-parse --abbrev-ref HEAD

如果要直接匯入剪貼簿,白話說就是直接「複製」 branch name

$ git rev-parse --abbrev-ref HEAD | pbcopy
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0