Skip to content
프로젝트

소개

Git을 시각화한 대화형 치트 시트입니다.

학습 및 교육

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Git Cheatsheet

screenshot of app

Standalone HTML page that organizes Git's commands by what they affect. Built as I was learning git and trying to understand it. It's proved useful to others in the same endeavor.

Contributors

Comments and pull requests welcome.

To add a translation

  1. Determine the 2-letter language code (ISO 639-1). See the existing files in git-cheatsheet/lang.
  2. Create a new JSON file with the name of the code in git-cheatsheet/lang. Choose one of the other languages as a starting point.
  3. Write your translation. Use the exact identical property keys in the JSON structure. Only change the values.
  4. Add a link for users to choose the translation. In git-cheatsheet.html, insert (alphabetically) a new line that looks like:
<a class="lang" data-lang="vi" data-docs="Vietnamese translation by trgiangdo">vn</a>
  1. Add your name to the README.md above.
  2. Test manually
  3. Create a pull request. Give me a couple days to reply, but then feel free to write.
  4. Once it's merged, tell people about it.

Keep the PR restricted to changes related to the translation.

Development

Files are in the src folder. To see it locally:

  • yarn install to install dependencies
  • yarn test to run the tests
  • yarn build to transpile.
  • yarn start or yarn start-docker to serve. The latter uses a Docker container.
  • Open http://127.0.0.1:8080/git-cheatsheet.html to view the page

CI is on Github Actions.

Deploy

Legacy

Use FTP to upload to NDP Software

Exceptions caught and logged on Rollbar (private).

AWS Deployment

rsync --progress -e "ssh -i ~/.ssh/LightsailDefaultKey-us-west-2.pem" ./git-cheatsheet.htm [email protected]:/home/bitnami/htdocs/

rsync --progress -e "ssh -i ~/.ssh/LightsailDefaultKey-us-west-2.pem" ./git-cheatsheet.html [email protected]:/home/bitnami/htdocs/

rsync -avcz --progress -e "ssh -i ~/.ssh/LightsailDefaultKey-us-west-2.pem" ./git-cheatsheet [email protected]:/home/bitnami/htdocs/

# rsync -avcz --progress -e "ssh -i ~/.ssh/LightsailDefaultKey-us-west-2.pem" ../agile_methods [email protected]:/home/bitnami/htdocs/

FAQ

Are there any "features"?

You can navigate over different "locations" and commands with the mouse, arrow keys, or vi-like keystrokes.

Why is it called "Cheat Sheet"?

It's pretty silly, actually. I had a little SEO juice from a couple other real cheat sheets, so I thought I'd just leverage that term. In retrospect, I think this was an okay tactic, as it brought people to the page.

Like it or have ideas?

If you like this and would like me to do more intereactions like this, send me an email... or patreon.com/ndp

License

Copyright (c) 2013-2024 Andrew J. Peterson, NDP Software

관련 프로젝트 살펴보기

불러오는 중…