491
submitted 7 months ago* (last edited 7 months ago) by lemmyreader@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] boredsquirrel@slrpnk.net 8 points 7 months ago

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)
[-] catloaf@lemm.ee 6 points 7 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.

[-] atzanteol@sh.itjust.works 2 points 7 months ago

commit to other branch

'cherrypick'

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

Linux

48159 readers
618 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