- clone repo
- sudo . install
- enjoy ❤️
Instalation will create .bash_profile as well. Adds colored terminal and git-completion. Profile includes git branch name, dirty and stash indicator.
Run git checkout -b
or git checkout
(or with pull
and rebase
) without typing the whole git command.
Before running you need to run configure <project_name> <prefix>
(without <>
) to configure git branch prefix. <prefix>
is optional. For more help run configuration --help
After configuration you can use branch in local repository.
branch -f my_new_feature
- if exists, then it checks it out. If yet not exists, creates it and checks it out. Branch template:feature/<prefix>-my_new_feature
branch
- lists all local branches.branch -a
- lists all local and remote branches.
Pull & rebase/merge is not ready yet for usage. TODO: Add rebase/pull/merge support
Run openurl <device> https://google.com
opens google on device.
Option <device>
are android or ios.
Refresh React Native app without shaking physical device. For this it is required to have adb installed globally.
Run rn-refresh <appname> <main_activity>
(without <>
). appname
is the package of the android app com.company.appname
. main_activity
is optional and points to the main activity of the RN application. Default is MainActivity
.
Run rn-refresh -d
in order to open React-Native developer menu.
TODO: Add support for ios simulator
Add .nosync
to folder or add extension.
Run nosync <path_to_file> -d
. -d
is optional, it stands for directory, in this case it puts .nosync
file to the directory. If -d
not provided, it will ad nosync
as extension of the file path.
TODO: Add .nosync
deletion option
Equivalent to git fetch
Equivalent to `git pull
In progress