gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Add the location of this file to your path and then simply call | |
# git stache instead of your regular and dull git stash. Batteries not included. | |
_sleep() { | |
sleep 0.1 | |
} | |
if [ -d .git ]; then | |
_sleep && echo '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installation: | |
# Linux: | |
# > Save it in a PATH folder | |
# > Give execution permission to this file | |
# > Run from the terminal as prune-repo [options] | |
# Windows: | |
# > Save it in a PATH folder | |
# > Rename to git-prune-repo | |
# > Run from the terminal as git prune-repo [options] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"always_show_minimap_viewport": true, | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme", | |
"font_size": 10, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"indent_guide_options": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=1.0 | |
Name=Telegram Desktop | |
Comment=Official desktop application for the Telegram messaging service | |
TryExec=/home/mauricio/.bin/Telegram/Telegram | |
Exec=/home/mauricio/.bin/Telegram/Telegram -- %u | |
Icon=telegram | |
Terminal=false | |
StartupWMClass=TelegramDesktop | |
Type=Application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Save in a PATH-seen folder and it should be ready to go in git as git deliver | |
# Pushes your current changes to origin/same-as-current-branch | |
branch=$(git branch 2> /dev/null | sed -n -e 's/^\* \(.*\)/\1/p') | |
git push origin $branch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt update | |
sudo apt upgrade | |
sudo apt install -y git php nodejs terminator curl apt-transport-https ca-certificates software-properties-common composer docker-compose mysql-server mysql-workbench fortunes fortunes-debian-hints fortunes-mario | |
# Sublime Text | |
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - | |
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Entry point for the UbuntuSetup Repo: | |
# github.com/MMachado-uy/ubuntuSetup | |
# | |
# Save this file in your computer and give it | |
# execute privileges with $ chmod +x setup.sh | |
# | |
# WARNING: This script and the scripts it calls | |
# uses sudo to install and set up software in | |
# the host machine. Use with caution. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Add this file with run permissions in a PATH-visible folder | |
# Run it from a repository with `git back` to go back to the previous branch | |
prev=$(git describe --all $(git rev-parse @{-1}) | sed 's/heads\///g') | |
git checkout $prev |
OlderNewer