Skip to content

Instantly share code, notes, and snippets.

@mkczyk
mkczyk / .git-plugin-bash.sh
Last active November 2, 2024 21:02
Git aliases for bash (based on Oh My Zsh Git plugin)
#!/bin/bash
# To ~/.bashrc file add line:
# source ~/.git-plugin-bash.sh
# Based on Oh My Zsh Git plugin (without zsh functions):
# https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/git/git.plugin.zsh
# https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git
#

Konfiguracja

SSH

Generowanie nowego klucza SSH

Potrzebne np. żeby pushować na GitHuba.

ssh-keygen -t rsa -b 4096 -C "[email protected]"
I podać można nową nazwę pliku /c/Users//.ssh/id_rsa_new

111