Code Monkey home page Code Monkey logo

gitrick's Introduction

gitrick

Comandos git, aliases, pipelines de execução e truques.

usage

  1. git clone https://github.com/viniciusknob/gitrick.git
  2. Make sure git files are executable (otherwise user chmod +x)
  3. Add local repository path for gitrick to PATH variable

aliases

go = checkout
find = !git branch -r | grep
st = status -sb
lg = log --pretty='%C(yellow)%h%Creset %Cblue%an%Creset %Cgreen%cr%Creset%Cred%d%Creset %s'
lgmh = !git lg origin/master..HEAD
lgmu = !git lg origin/master..@{u}
lguh = !git lg @{u}..HEAD
merges = !git lgmh --merges
allmerges = !git lg --merges
sno = show --name-only
rim = rebase -i origin/master
poh = push origin HEAD
pfwloh = push --force-with-lease origin HEAD
undo = reset --mixed HEAD^
rhu = reset --hard @{u}
fixup = commit --fixup
ccsne = commit --cleanup=scissors --no-edit
cane = !git add -N . && git commit -a --amend --no-edit
save = !git add -N . && git commit -am 'SAVEPOINT'
aliases = !git config --list | grep 'alias'
upstream = rev-parse --abbrev-ref --symbolic-full-name @{u}
rerere-clear = !rm -rf .git/rr-cache

Make Windows Terminal look amazing!

https://www.youtube.com/watch?v=AK2JE2YsKto https://github.com/xcad2k/dotfiles/blob/main/.config/starship.toml

Ubuntu on Windows with WSL2 config

Install on Ubuntu using Terminal:

curl -sS https://starship.rs/install.sh | sh

Create a symbolic link to starship.toml:

mkdir ~/.config
ln -s /mnt/c/Users/<username>/.config/starship.toml ~/.config/starship.toml

gitrick's People

Contributors

viniciusknob avatar

Watchers

James Cloos avatar  avatar

Forkers

fabriciobedin

gitrick's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.