This is the best git alias:
derp = "!f(){ git commit --amend --no-edit && git push --force-with-lease -u \"$(git branch-push)\" HEAD \"$@\"; };f"
This is the best git alias:
derp = "!f(){ git commit --amend --no-edit && git push --force-with-lease -u \"$(git branch-push)\" HEAD \"$@\"; };f"
@nf3xn rewrites the last commit without prompting for a new commit message, and force pushes if, and only if, there are no new commits at the destination.
@ryanc wow ok that's not a scary alias
@tymwol i have that set to
yolo = "!f(){ git commit -am \"¯\\\\_(ツ)_/¯\" && git push; };f"
@ryanc I have a similar one: `git yolo`🥲
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.