DEV Community

Cover image for How to make GitHub more Productive?

How to make GitHub more Productive?

Filly Agioro
πŸ‘¨β€πŸ’» I am WebDev πŸ“• I like reading Books 🦸Want to be the Best version of myself πŸ’¬ AskMe anything on my social media accounts
・3 min read

In this post, I am going to talk about how to make your GitHub workflow faster, smoother, and more productive with these few tricks.

Make .github repository

Most people don't use this but it pretty useful. First should make a repository named .github then start making these files,, FUNDING.yml, & Now when you open your other repositories of your own you will see that it showing the .github repository file content there also.

Helpful Links

What does this file do:

  • A code of conduct defines standards for how to engage in a community.
  • This file, in your open source repository or site, provides potential project contributors with a short guide to how they can help with your project or study group.
  • FUNDING.yml: By adding this file you show your sponsor button in your repo.

Now you don't have to go to every repo to edit these files you can it one's and done for the day. If you don't want to do these then you can fork or download my repo also.

GitHub logo FillyAgioro / .github

Default files for Projects

Make a template for Issues and Pull Request

Make your contributor's experience more smoother with templates. By making issues and pull request templates your contributors don't have to write the whole thing also. Reading the issues and pull requests will easier because it will be formatted.

Repo issues template name

Repo issues template insides

How to make a template:

  • Go to your .github repo.
  • Make .github folder inside it.
  • Make ISSUE_TEMPLATE inside PULL_REQUEST_TEMPLATE folder make, or you can make other topic files by your choice.nd PULL_REQUEST_TEMPLATE folder inside .github folder.
  • Inside the ISSUE_TEMPLATE folder make, or you can make other topic files by your choice.
  • Inside the PULL_REQUEST_TEMPLATE folder make or you can make other topic files by your choice.

If you want to see how it look go to my repo:

GitHub logo FillyAgioro / .github

Default files for Projects

Make a template repo

In template repo, you only have to make two files you make more of them also but mostly you need & LICENSE if you use a default license for your projects.

Template repository Option

To make repo a template:

  • Go to the repo that you want to make the template.
  • Go to Settings.
  • And tick β˜‘ the Template repository option.

Template Readme

Make a structured readme so the reader will easily find the content he/she needed and also you don't have to look on a blank page every time you write a readme file. In this way, you know what and where to write. It also makes everything more beautiful to look at.

Here the Structured Readme made by me:-

Don't fork too many repositories

Don't fork too many repositories if you are not contributing or doing something with it. How you are going to delete it first?. If you some easy way to delete it then do it but don't do it if you not don't something useful with it.

If you have any questions ask me in the comment or β™₯ the post.

Discussion (2)

erikwhiting88 profile image
Erik W

I didn't know these tricks, nice article!

fillyagioro profile image
Filly Agioro Author

Thanks πŸ™

Forem Open with the Forem app