Skip to main content
11 events
when toggle format what by license comment
Jan 15 at 15:02 history edited Benjamin Loison CC BY-SA 4.0
Add shell syntax highlighting
Mar 22, 2023 at 9:55 comment added Mikko Rantalainen Git is used by software developers that are expected to be able to learn new commands. And there are multiple CLI and GUI interfaces for Git but none have been big enough improvement that everybody would be using it. I personally use just command line git with custom aliases + git gui and gitk. For example, I do have git stage and git unstage.
Mar 22, 2023 at 8:22 comment added fresko @MikkoRantalainen GIT is not that old. Anyway I wonder why nobody creates a kind of envelop for GIT, that calls the primitive commands of GIT under a layer of logical, and easy-to-remember commands. So user can learn those easier commands (example: stage / unstage) and on the background, the git impossible-to-learn commands are executed. And other users can still use the older commands ;) Something similar happens with JavaScript and Typescript
Mar 20, 2023 at 14:39 comment added Mikko Rantalainen If Git were designed today with the knowledge we now have, we would probably have stage and unstage only to modify the cache/index/staging area which would be called "staging area" in all documentation and user interface.
Mar 20, 2023 at 14:36 comment added Mikko Rantalainen @fresko There's also the mess about calling the same thing as cache, index or staging area but these things cannot be changed without breaking backwards compatibility. And similar to Linux kernel, Torvalds seems to prefer to keep any old partially-insane APIs as-is instead of ever breaking any old workflow. Nowadays we also have git restore --staged path/fo/file for this purpose.
Dec 21, 2021 at 10:27 comment added fresko I agree, it's very annoying that Linus Torvalds, instead of creating simmetric commands, just created a new word for a different command. For simmetric i mean something like: commit - uncommit; stage-unstage . Or a keyword UNDO that can be used for many commands: git commit X - git UNDO commit x. Seems natural that one has to learn by heart a lot of words. The ones that are used not so often are easily forgotten... and here we all are on this page
Nov 3, 2019 at 13:15 history edited Peter Mortensen CC BY-SA 4.0
Made compliant with the Jon Skeet Decree - <https://twitter.com/PeterMortensen/status/976400000942034944>, etc.
Sep 12, 2018 at 18:13 comment added Obsidian Actually, git stage is the alias for git add, which is the historic command, both on Git and other SCM. It has been added in december 2008 with commit 11920d28da in the "Git's git repository", if I can say.
Jun 8, 2017 at 9:18 comment added Thomas Weller "moves"? This would indicate it has gone from the working directory. That's not the case.
Apr 29, 2013 at 13:05 history edited takeshin CC BY-SA 3.0
edited body
Sep 10, 2010 at 20:28 history answered takeshin CC BY-SA 2.5