๐Ÿท๏ธ Github CLI v2.9.0 ์ถœ์‹œ : ํด๋ก  ๋ ˆ์ด๋ธ” ๊ธฐ๋Šฅ #5452 ์ถœ์‹œ

4782 ๋‹จ์–ด terminalcodenewbieproductivitygithub

๐Ÿ™‹ ์†Œ๊ฐœ



GitHub CLI v2.9.0 ์ด ์ถœ์‹œ๋˜์–ด labels ์ฃผ๋ณ€์— ๋ฉ‹์ง„ ์ƒˆ ๊ธฐ๋Šฅ์ด ์ถ”๊ฐ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค.



`label clone` ๋ช…๋ น ์ถ”๊ฐ€ #5452







heaths
์— ๊ฒŒ์‹œ๋จ



ํ•ด๊ฒฐ #5441


View on GitHub


์ตœ๊ทผ์— ์ €๋Š” (์กฐ์ง ์ˆ˜์ค€์˜ ๋ณด๊ณ ๋ฅผ ์œ„ํ•ด) ๋ณ„๊ฐœ์˜ ์ €์žฅ์†Œ์—์„œ ๋ ˆ์ด๋ธ”์„ ๋™๊ธฐํ™”ํ•ด์•ผ ํ•  ํ•„์š”์„ฑ์„ ๋Š๊ผˆ์Šต๋‹ˆ๋‹ค(dedicated feedback ์ฐธ์กฐ).


, ์ด ์ตœ์‹  ๋ฆด๋ฆฌ์Šค๋Š” ์™„๋ฒฝํ•˜๊ฒŒ ์ผ์น˜ํ–ˆ์Šต๋‹ˆ๋‹ค โฃ๏ธ

๐ŸŽž๏ธ ๋ฐ๋ชจ



์ฒœ ๋‹จ์–ด์˜ ๊ฐ€์น˜๊ฐ€ ์žˆ๋Š” ์งง์€ ๋น„๋””์˜ค ๊ทธ๋Ÿฌ๋‹ˆ ์—ฌ๊ธฐ๋กœ ๊ฐ€์„ธ์š” ๐Ÿ‘‡


๐Ÿ“œ ์˜ํ™” ๋Œ€๋ณธ



โš ๏ธ ๋ณธ์ธ์˜ ๊ณ„์ •์œผ๋กœ ๊ต์ฒดโš ๏ธ

clear

# ๐Ÿค” So a new release is avilable for Gtihub Cli โ”
# ๐Ÿ‘‰ What's new on v2.9.0... let's find out ๐Ÿ‘‡  
gh release view v2.9.0 --repo cli/cli

# ๐ŸŽ ... and what is cli/cli #5452 "label clone" feature โ”
gh issue view 5452 --repo cli/cli

# ๐Ÿ†— Let's give it a try โฃ๏ธ

# 1๏ธโƒฃ Create a master repo 
gh repo create gh-cli-demo-labels-master --public 

# ๐Ÿท๏ธ See labels on the newly created repo ๐Ÿ‘‡
gh label list --repo adriens/gh-cli-demo-labels-master

# โž• Create a custom label ๐Ÿฆฉ
gh label create SOMETHING_PINK --description "I love pink things" --color FFC0CB --repo adriens/gh-cli-demo-labels-master

# โœ… And check it has been created  ๐Ÿ‘‡
gh label list --repo adriens/gh-cli-demo-labels-master

# ๐Ÿ” Look for the newly created label ๐Ÿ‘‡
gh label list --repo adriens/gh-cli-demo-labels-master | grep PINK

# โž•  Now, create a new repo...
gh repo create gh-cli-demo-labels-synced --public 

# ... List existing labels on te newly created repo
gh label list --repo adriens/gh-cli-demo-labels-synced

# โœ… Check that the PINK label does not exists
gh label list --repo adriens/gh-cli-demo-labels-synced | grep PINK

# ๐Ÿช„ Sync labels โœจ
gh label clone adriens/gh-cli-demo-labels-master --repo adriens/gh-cli-demo-labels-synced

# ๐Ÿ•ต๏ธ See if the clone command did work ๐Ÿคž
gh label list --repo adriens/gh-cli-demo-labels-synced | grep PINK

# ๐ŸŽ† Job done ๐Ÿคธ

# ๐Ÿงฝ Cleanup the mess ๐Ÿงผ
gh repo delete adriens/gh-cli-demo-labels-master --confirm
gh repo delete adriens/gh-cli-demo-labels-synced --confirm

# ๐ŸŽฌ That's all folks
gh repo view cli/cli

# ๐ŸŒŸ Go like it ๐ŸŒŸ
gh repo view cli/cli --web


๐Ÿ”– ๋ฆฌ์†Œ์Šค


  • ๐ŸŽž๏ธ on
  • Github CLI homepage
  • cli/cli Manual
  • cli/cli on Github
  • ์ข‹์€ ์›นํŽ˜์ด์ง€ ์ฆ๊ฒจ์ฐพ๊ธฐ