-
Clone the repo.
-
to your .bashrc add the following lines.
if [ -n "${BASH_VERSION}" ]; then filepath="/PATH-TO/lazy-git/homie.sh" if [ -f "$filepath" ]; then source "$filepath" fi fi
- returns current branch name.
- Commits staged changes. Requires message argument.
- Commits everything. Promise! Requires message argument.
- Pushes to remote.
- Pulls from remote.
- does a git fetch.
- Creates a new branch. Requires a branch name as argument.
- Returns to previous branch, yes no argument required, that'd be silly.
- does a git status, nothing else promise.
- does a git diff.
- You are right, we are wrong, returns logs.
- Do this only if you are searching for a new job, seriously-joking. Commits all changes and pushes to remote, not master, ahem.
- Deletes every file and pushes to master. LOL no, cleans local branches except master and current branch
- Does a git checkout of all files
- Checkout to a branch