Skip to content

kentokento/git-twin.sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

git-twin

Clone

$ git clone https://github.com/kaneshin/git-twin.sh ~/.git-twin.sh

Just do it!

$ cd ~/.git-twin.sh
$ ./install.sh

Settings

# .shrc
if [[ -s "$HOME/.git-twin.sh/twin.sh" ]]; then
    source ~/.git-twin.sh/twin.sh
    alias git-twin='_git_twin'
fi
# .gitconfig
[alias]
	twin = !sh -c 'source ~/.git-twin.sh/twin.sh && _git_twin \"$0\" \"$1\"'

Author

Shintaro Kaneko kaneshin0120@gmail.com

Modifier

Kento Yamashita

About

git twin <repository> <directory>

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%