DEV Community

Cover image for A Look into How I Manage My Personal Projects (My Git/GitHub Workflow)

A Look into How I Manage My Personal Projects (My Git/GitHub Workflow)

Joeylene on May 15, 2020

I'll discuss how I create and manage my projects using Git/GitHub. Also, I'll be tackling how I use GitHub's project boards, issues, and pull requ...
Collapse
 
edisonknew profile image
EdisonKnew

Hi, really nice works! It helps me a lot, i was always struggling to have a nice streamflow.

I'm not sure i fully understand how you manage epic with your branch

If we have one Epic
Book Page
And 3 tasks
Create Book
Read Book
Delete Book

What branchs do you create ?

1 for the epic and one for each task?

Thanx a lot for your work

Collapse
 
jorenrui profile image
Joeylene

Actually my workflow has kinda change since this post. That I create an epic branch which are versions like v1. Then task branches that are features to be done for v1 release. Also I now name them "jr.create-book" adding my initials to the branch.

Anyways, regarding the epic branches. I think you should only do it for features that are too big then chop then it up into little pieces. Since it is easier to review small PRs than bigger ones that does a lot.

Regarding what you've said above. You can create an epic branch called "feat-book-page". Then three task branches called "task-book-page-create-book", etc. that points to the epic branch. So when you create a PR also a preview deployment, you can test the book page (epic branch) before merging it to production for all to see.

Collapse
 
thomasbouasli profile image
Thomas Jardane de Oliveira Bouasli

Quite similar to GitFlow, i recently found a vscode extension that handles all the git commands to create feature branches (Task Branches), release branches (Epic Branches), if you are interested here is the link to it.

marketplace.visualstudio.com/items...

Collapse
 
edisonknew profile image
EdisonKnew

Thanx for your answer :) i'll try it and adjust to my needs ;)

Collapse
 
obwana profile image
Obwana

I tried to implement this workflow with android studio, but I'm stuck in "5. Git Templates" as I can't edit the .md files after I created all the directories, is there any knowledge I'm missing. Please help I'm new to this.

Collapse
 
jorenrui profile image
Joeylene

Ahh late reply. Haven't been here on dev.to that much lately.

Anyways, you can use a normal editor like Notepad to edit the .md files. You can manually create a folder named ".github" then inside create those ".md" files then edit them using a text editor.

Collapse
 
obwana profile image
Obwana

Thanks

Collapse
 
brandnk profile image
Brandon King

Thanks for sharing this. I learned a lot!

Collapse
 
rush profile image
Aarush Bhat

Is it good to follow such an elaborate workflow?

Collapse
 
jorenrui profile image
Joeylene

Depends on your needs and preference. Not every workflow is suited to every project/everyone.

Cause some find that this is a drag on smaller projects. But helpful for big ones where you collaborate with someone else.

Collapse
 
rush profile image
Aarush Bhat

i tried out the workflow for a big project of mine, i think it'l really streamline my work! thanks!

Thread Thread
 
jorenrui profile image
Joeylene

That's great. Glad it worked out! 😊

Collapse
 
pratham82 profile image
Prathamesh Mali

This is a really nice article, with to the point info and apt example. Thank you for making this, I've implemented this for my upcoming project hope this let's me keep this organized.