cheat.sh
cheat.sh copied to clipboard
How to edit a cheatsheet found with a question
Hi, I've found the following cheatsheet :
In the README you explain that there must be an edit button in the page and a github button to access the sheet but as you can see it doesn't appear here.
Thx ;)
@PostIt59 It is a very good ant interesting question. It is possible to edit answers that were generated from GitHub cheat sheets repositories. In this case the answer was taken from a StackOverflow answer. But it could be possible to added a edit button to such answers too.
In this case it would be https://stackoverflow.com/posts/13902539/edit
Is it that what you would like to have?
@chubin Absolutely because in this particular case there is a cleaner way to get the repository id of a Github repository. A simple Edit button could be a great solution ;)
https://stackoverflow.com/posts/13902539/edit
Well now
Hi @chubin Is this one still needed and available? In case it is I would like to try to help :)
Find an existing repo The first thing that you’ll need to do is find the earthlab/14ers-git repo. You can find repos in two ways:
Type “14ers-git” in the github.com search bar to find the repository. Use the repository URL if you have it: https://github.com/EarthLab/14ers-git. The GitHub interface Once you have found the https://github.com/EarthLab/14ers-git repo, explore it.
Notice the format of the repository name. Repository names will always begin with the account or organization name followed by the repo name, like this: organization-or-account-name/repo-name The full name of our repo is:
earthLab/14ers-git
Next, below the repo full name, explore the header tabs Notice the following headers that you will use in this workshop:
Code: Click here to view structure & contents of the repo. Issues: Submit discussion topics, or problems that you are having with the content in the repo, here. Pull Requests: Submit changes to the repo for review / acceptance.
It is https://stackoverflow.com/posts/13902539/edit
amazing
Belajar
@colens3 Sorry for missing your question. Do you mean this issue? This "edit page" feature? Or what exactly