Also added git function to cherry-pick commits.
@ -1,13 +1,8 @@
<!--- Intro {{{ -->
# Kevin's Linux Setup
<!--- pictures {{{ -->
![desktop-screenshot](https://i.imgur.com/mbu9aYf.png)
*Screenshot from my dual-monitor desktop config.*
![laptop-screenshot](https://i.imgur.com/UpdX90A.png)
*Screenshot from my laptop config.*
<!--- }}} pictures -->
This repository contains the dotfiles for my Linux
[rice](https://www.reddit.com/r/unixporn/comments/3iy3wd/stupid_question_what_is_ricing/cukxwog/) and also help to increase my workflow efficiency significantly.
@ -251,12 +251,13 @@ alias crm="mrk README.md"
function gcho() { git checkout $1 ; }
function gcln() { git clone $1 ; }
function gremotes() {
git remote set-url --add --push origin $1
git remote set-url --add --push origin $2
}
# assume file is changed
function gunc() { git update-index --assume-unchanged $1 ; }
# only take certain commit from branch
function gchp() { git cherry-pick $1 ; }
# gmrgr: merge repos {{{ #
# merge repos {{{ #
function gmrgr() {
# 1 = remote name, 2 = remote path
git remote add $1 $2
@ -267,7 +268,12 @@ function gmrgr() {
# }}} merge repos #
# add multiple remotes {{{ #
# }}} add multiple remotes #
# pull all {{{ #
function gpla() {