Skip to content

Commit bfef138

Browse files
committed
Add new article
1 parent 56be7e0 commit bfef138

File tree

4 files changed

+78
-1
lines changed

4 files changed

+78
-1
lines changed

src/assets/state/articles/2.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default {
110110
width={deleteError.width}
111111
height={deleteError.height}
112112
alt="Very verbose SourceTree unmerged branch deletion error"
113-
aria-aria-labelledby="delete-error-note"
113+
aria-labelledby="delete-error-note"
114114
/>
115115
<p
116116
id="delete-error-note"

src/assets/state/articles/4.jsx

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
import { people } from "../team";
2+
import tags from "./tags";
3+
4+
import thumbnail from "@blogImages/2/thumbnail.webp";
5+
import deleteError from "@blogImages/2/sourcetree-delete-error.webp";
6+
7+
import A from "@/components/pages/blog/post/ArticleComponents";
8+
9+
/** @satisfies {import("./article").default} */
10+
export default {
11+
title: "Features You Can Expect in Commit Rocket",
12+
13+
thumbnail,
14+
thumbnailAlt: "Thumbnail alt",
15+
16+
vertical: "software",
17+
18+
slug: "commit-rocket-features",
19+
tags: [
20+
tags.commitRocket,
21+
tags.news,
22+
tags.plans,
23+
{
24+
name: "Commit Rocket Features",
25+
hidden: true
26+
},
27+
{
28+
name: "Planning",
29+
hidden: true
30+
}
31+
],
32+
33+
author: people.rik,
34+
35+
created: new Date("2023/05/05"),
36+
37+
teaser: "Commit Rocket is still very young and we are thinking of features to put into it. We have lots of ideas, what are your thoughts?",
38+
39+
content: <>
40+
<A.Container className="text-xl">
41+
<p>
42+
43+
</p>
44+
45+
<p>
46+
Let's get started!
47+
</p>
48+
</A.Container>
49+
50+
<A.TOC maxLevel={2} />
51+
52+
<A.H2>
53+
Deleting a local branch
54+
</A.H2>
55+
56+
<A.H2>
57+
Wrapping up
58+
</A.H2>
59+
<p>
60+
Now that you know how to delete branches in Git CLI, it's time to start cleaning up your repositories! Remember to use caution when deleting branches, especially when deleting remote branches, as they can affect other collaborators working on the same project.
61+
</p>
62+
<p>
63+
We hope you found this article helpful! If you have any questions or feedback, feel free to reach out to us via <A.Link href="mailto:feedback@commitrocket.com">feedback@commitrocket.com</A.Link>. At Commit Rocket, we are <i>committed</i> to making Git simpler and faster for developers everywhere. If you're interested in learning more about our in development Git client, be sure to have a look around our website!
64+
</p>
65+
<p>
66+
And last but not least, if you found this article useful, please share it with your fellow developers so they can benefit from it as well. Thank you for reading!
67+
</p>
68+
</>
69+
};

src/assets/state/articles/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import IArticle from "./article";
22

33
import article1 from "./1";
44
import article2 from "./2";
5+
import article3 from "./4";
56

67
export default [
78
{
@@ -11,5 +12,9 @@ export default [
1112
{
1213
filename: "2",
1314
article: article2
15+
},
16+
{
17+
filename: "4",
18+
article: article3
1419
}
1520
] as { filename: string; article: IArticle }[];

src/assets/state/articles/tags.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ export default {
1919
"tutorial": {
2020
name: "Tutorial"
2121
},
22+
"plans": {
23+
name: "Plans"
24+
}
2225
} satisfies Record<string, ITag>;

0 commit comments

Comments
 (0)