this post was submitted on 17 Apr 2024
489 points (98.0% liked)

Linux

45457 readers
1401 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
489
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 2 months ago (2 children)

The only stuff I need, that should be easier

  • commit all changes
  • commit to other branch
  • squash all commits to one
  • configure a ssh key per user (especially when using different accounts, different username etc)
[–] [email protected] 6 points 2 months ago

Commit -a isn't easy?

Squashing is easy too, though no, there isn't a "squash all" option, unless you're working in a feature branch and check out master and git merge --squash branch: https://graphite.dev/guides/git-merge-squash

I'm sure there's a way to commit to another branch without having it checked out, but that just sounds like a recipe for trouble.

And I have no idea how you'd manage to not have different ssh keys per user. You shouldn't be reusing keys across accounts to begin with.

[–] [email protected] 2 points 2 months ago

commit to other branch

'cherrypick'