DEV Community

Cover image for Improving your Git workflow

Improving your Git workflow

Christopher Kade on August 14, 2019

Whether you are on your own or with a team, having an efficient Git workflow can go a long way to boost your productivity. For the past month, I've...
Collapse
 
okazari profile image
Benjamin Plouzennec

In addition, with my old team we did wrote thoses practices into the definition of done of our project.
It gave us the possibility to reject a pull request because of bad commits.
It lead us to be more conscientious about our git workflow and history :)

Collapse
 
thisiszvkh profile image
Zakiah Ismail

Great article! Thank you, Christopher! I'm starting to use the label thing in my team focusing on the status of each pull request such as (Abandoned, Blocked, Review Needed, Revision Needed). Do you automate the labeling part?

Collapse
 
christopherkade profile image
Christopher Kade

Hey Zakiah, I'm glad you enjoyed the article ! We do not automate this part no, neither in their creation or the assignment.

Whenever we open a new PR we take the time to set the labels one by one as it's important not to mess it up.

Collapse
 
dennisk profile image
Dennis Keirsgieter

Nice read! The header image really attracts me so i have to know.. what tool is that? Or is it vscode with some extension?

Collapse
 
christopherkade profile image
Christopher Kade

I used a tool I made called Banner generator 😁

Collapse
 
dennisk profile image
Dennis Keirsgieter

Haha okay not the header image, the git timeline thingy i meant! I've starred the Banner generator :D

Thread Thread
 
christopherkade profile image
Christopher Kade

Oh my bad ! It's just a picture from Unsplash 😅 thanks for the star !

Collapse
 
alxwrd profile image
Alex Ward

It is a vs code extension, git graph: marketplace.visualstudio.com/items...

Collapse
 
dennisk profile image
Dennis Keirsgieter

Ah thanks that's why it looked familiar, i've seen that before :)

Collapse
 
supunkavinda profile image
Supun Kavinda

For branches, I like what @ben does - ben/fix-analytics

Source: github.com/thepracticaldev/dev.to

Collapse
 
bootcode profile image
Robin Palotai

Thanks for this! I heard pre-commit.com is pretty valuable too.