In this post, I am going to talk about how to make your GitHub workflow faster, smoother, and more productive with these few tricks.
Most people don't use this but it pretty useful. First should make a repository named
.github then start making these files
SUPPORT.md. Now when you open your other repositories of your own you will see that it showing the
.github repository file content there also.
What does this file do:
CODE_OF_CONDUCT.md: A code of conduct defines standards for how to engage in a community.
CONTRIBUTING.md: 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.
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.
How to make a template:
- Go to your
.githubfolder inside it.
feature_request.mdor you can make other topic files by your choice.nd
- Inside the
feature_request.mdor you can make other topic files by your choice.
- Inside the
pull_request_template.mdor you can make other topic files by your choice.
If you want to see how it look go to my 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.
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.
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 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.