免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Update certain branches
(electronic sounds) - [Instructor] It's time to ramp things up a little bit. Now, nothing makes developers more angry than having to do repetitive tasks. We'd like to replace everything with a small script. So let's say that you're working on a project and a new version of some library you're using gets updated. You have more than one branch that you would like to push these updates to. How would you automate something like that? I'll give you a couple of seconds to think about how you do something like this. (electronic sounds) Now though I could solve this problem in several languages. I love using bash scripting for this type of task. It's available in most Linux distributions. And as you'll see in future challenges, it works really well with actions. It's a little bit quirky for programming, but you'll get used to it pretty quickly. I created a file on my home folder called get update branches.sh. I've got this open…
内容
-
-
-
Clone a repo with an empty history2 分钟 28 秒
-
(已锁定)
How do you merge a linear history?4 分钟 22 秒
-
(已锁定)
Add an issue directly from the Terminal2 分钟 56 秒
-
(已锁定)
Deleting all commit history1 分钟 56 秒
-
(已锁定)
Fix a committed password4 分钟 32 秒
-
(已锁定)
Create a monorepo3 分钟 18 秒
-
(已锁定)
Update certain branches3 分钟 18 秒
-
(已锁定)
Process all branches3 分钟 48 秒
-
(已锁定)
Run accessibility audit on push6 分钟 43 秒
-
(已锁定)
Use hidden secrets in projects5 分钟 29 秒
-
(已锁定)
Run actions on a schedule3 分钟 13 秒
-
(已锁定)
Create a Docker container action5 分钟 25 秒
-
(已锁定)
Build and deploy your sites3 分钟 55 秒
-