NOT PORTED YET
- GitHub SSH Key SSO Authorization
- Pull Requests
- CodeOwners
- GitHub Profile Page
- Use Permalink URL References for Documentation or Support Issues
- Memes
If you're using SSH keys to git clone
in a company using GitHub SSO authentication then you will need
to authorize your SSH keys for each organization in order to be able to use them.
On this page listing your SSH keys:
https://github.com/settings/keys
On the right of each key, click the Configure SSO
drop-down and then next to the organizations you're a member of
click Authorize
.
Use Pull Requests to track changes and get peer review and approval.
Keep PRs as small and atomic as possible -
people's eyes will glaze over on big PRs resulting in lgtm
approvals out of fatigue,
missing bad code or bugs into the repo and defeating
the quality control of peer review.
The more lines in a PR, there more likely your colleagues will miss something.
Hopefully your more thorough 'rainman' coding bro comes along and revokes the approval.
HariSekhon/Templates - .github/CODEOWNERS
Enforce Pull Request reviews to all or given paths in the repo to this list of users or teams.
Auto-notifies these code owners requesting reviews when pull requests changing their files are raised.
When listing GitHub teams in the .github/CODEOWNERS
file, the team must not be set to Secret otherwise it won't be
respected, on top of it requiring Write access to the repo.
Create a GitHub repo with the same name as your GitHub profile username and in it create a README.md
file
which will be automatically displayed as your GitHub profile home page.
You can do anything you normally can in Markdown - links, formatting, using HTML and embedding 3rd party tools like:
URL | Description |
---|---|
https://shields.io | Badges |
https://komarev.com/ghpvc/ | Profile hits counter |
https://github.com/anuraghazra/github-readme-stats | Profile Stats or GitHub repos to list more repos than that annoying arbitrary 6 repo pin limitation |
See my GitHub Home Profile page:
https://github.com/HariSekhon
which comes from this repo:
https://github.com/HariSekhon/HariSekhon
GitLab uses this too but it puts a Read more
link instead of displaying the whole page like GitHub.
When referencing GitHub lines or HTML anchors in Documentation or support issues, use a permalink URL instead of the default branch link, which can change and misdirect your line number or anchor references.
A permalink uses the commit hashref so that it always goes to that fixed line or anchor in history.
Press y
on a page while browsing GitHub.com
to change the current branch URL to a permalink hashref commit URL.