For those without Python installed, you can use a binary from the GitHub Actions tab.
- Click the latest workflow, then scroll to the bottom for the heading 'Artifacts'.
- Download the right one for your platform.
- Unzip/extract the file
- Now clone the repo
git clone https://github.com/TechWiz-3/git-cheatsheet.git
- Move the extracted binary into the git repo (ensure it is named
gcheat_binary
) - Now run
cd git-cheasheet && sudo bash install-binary
- Cd out of the git repo and use the command
gcheat
- If an issue occurs, please report it 🙏
- Enjoy!
Logic:
Basically since you can't do step 6, you will need to ensure that whenever gcheat_binary.exe
is invoked, the path to the repo's README.md
is the last arguement.
That might look something like this So gcheat_binary.exe git-cheatsheet/README.md
Preferably, the gcheat_binary
can be accessed from anywhere, and the README.md
argument is passed in automatically.
A smart way to do it would be, (after moving the binary to the git cloned repo), adding the repo to the command prompt/terminal's path and then aliasing gcheat to \path\gcheat_binary.exe \path\README.md
.
git clone https://github.com/TechWiz-3/git-cheatsheet && cd git-cheatsheet
pip install -r requirements.txt
bash install
gcheat