ndp / git-cheatsheet Goto Github PK
View Code? Open in Web Editor NEWInteractive cheatsheet, visualization of git.
Home Page: http://ndpsoftware.com/git-cheatsheet.html
License: MIT License
Interactive cheatsheet, visualization of git.
Home Page: http://ndpsoftware.com/git-cheatsheet.html
License: MIT License
Hi @ndp, as you can see, on http://ndpsoftware.com/git-cheatsheet.html#loc=; the localization is broken.
Hitting previous version it seems to be working...
http://ndpsoftware.com/git-cheatsheet/previous/git-cheatsheet.html
cheers!
Hi @ndp ! I really like this cheat sheet! It really helped me when I was starting out with Git.
I noticed that the arrow for a few commands end or begin in the "Upstream repository", but they in fact do not communicate with the upstream repository:
reset --hard <remote>/<branch>
: this reset the current branch to the commit at the tip of the remote-tracking branch <remote>/<branch>
. The <remote>
remote is not fetched. As such, I think this arrow should start in the "Local repository".branch --track new <remote>/<branch>
same thing; this does not communicate with the upstream repository so it should both start and end in the "Local repository". branch -r
: this lists remote-tracking branches, and does not communicate with the "Upstream repository". It should be in "Local repository".My point of view is that only commands that talk to the "Upstream repository" should have their arrows touching it. I think it's important for begginers to clearly distinguish between Git commands that are local and Git commands that talk to remote repositories.
Would you accept a PR that would make these changes ?
git pull
not only updates your workspace but also adds a merge commit to your local repository. This could be confusing for some users.
I'm not sure how you would present this given the formatting though.
Great visualization btw!
According the documentation:
This option [git stash save] is deprecated in favor of git stash push.
When you visit the web page with HTTP, the website is not working properly (on Firefox and Chrome).
Make the page responsive to different screen sizes
FROM node:18-alpine AS base
FROM base AS deps
WORKDIR /app
COPY package.json yarn.lock .yarnrc.yml ./
COPY .yarn ./.yarn
# RUN yarn config set registry 'https://registry.npmmirror.com/' && yarn install
RUN yarn config set npmRegistryServer 'https://registry.npmmirror.com/' && yarn install
FROM base AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app /app
RUN pwd && ls -al && yarn build
FROM base AS runner
WORKDIR /app
COPY --from=builder /app/* ./
EXPOSE 8080
CMD ["yarn", "start"]
More like a "info" click (title attr) that shows up near where the item is.
Is your feature request related to a problem? Please describe.
Hi! I want to contribute to this project and Persian language, but as it's a RTL language, forcing it to be shown LTR is not a good idea.
Describe the solution you'd like
Adding a RTL mode for RTL languages.
Describe alternatives you've considered
I don't know what to write here. :/
Additional context
Here, I added direction: rtl;
for testing the layout.
It would be awesome to see a translation to pt-br just like the other ones (fr, de, etc.).
I can take this task, as soon as I receive some starting guidelines.
I've noticed a JSON file with translation. Would that be enough?
Hacker News user complained about back button "breaking".
Expected behavior: when hitting back button, changes the view to reflect the URL change.
Bonus: page title changes appropriately.
How about?
Great Cheatsheet,
Thanks for sharing !
Add link to flow chart to get you out of trouble
This would be useful for printing it out
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.