Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Nahuel nahuelDev23

🏠
Working from home
  • HPC
  • Buenos Aires
View GitHub Profile
@nahuelDev23
nahuelDev23 / ubuntu_software_installer
Created Nov 21, 2022 — forked from snovakovic/ubuntu_software_installer
Bash script to install softwares on ubuntu
View ubuntu_software_installer
#!/bin/bash
# run it as sudo yes | sh ubuntu_software_installer.sh
# CURL
sudo apt-get install curl
# CHROME
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
@nahuelDev23
nahuelDev23 / git-alias.md
Created May 21, 2022 — forked from Klerith/git-alias.md
Useful Git Alias
View git-alias.md

Log

git config --global alias.lg "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"

Status

git config --global alias.s status --short

Alternativa útil de status

git config --global alias.s status -sb