免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Process all branches
(graphics trill) - Using Bash was a lot of fun. So let's do another one. Now this time, I want you to try to go through every branch of a repo, no matter how many branches there are, and then copy a certain folder in each one of those branches to a folder on your desktop. Each branch should go in its own subfolder. So let's take a look at our project, and the folder that want you to copy is this Build folder. So I'mma expect a folder on your desktop, and then inside that folder, another subfolder for each one of the branches that we have. In this case, we have this feature, this main, and this update branch, and then inside each one of those folders, we would like the contents of whatever is in this Build subfolder. I'll give you a couple of minutes to figure out how you'd do something like this. (8-bit techno music) Now this one's a lot tougher, but it's a lot less code because you have to figure out a way…
内容
-
-
-
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 秒
-