grit
grit copied to clipboard
Keep track of your local Git clones.
``` NAME: grit browse - Open a browser window to the GitHub project associated with . USAGE: grit browse ```
I have dotfiles repos for a couple of my workplaces, and it's pretty difficult to have each repo manage its own Grit config at the moment. I end up having...
I'm not sure of the state of LFS support in the `go-git` library that we use (though I do know that most builds of Grit don't support cloning repos with...
The primary driver behind this is to create `main` branches for GitHub repositories, instead of `master`. As it stands `go-git` is hardcoded to make a `master` branch. I have created...
Accepts the same parameters as 'clone' but inits a new empty repo and sets up the remote. Perhaps later it could create the repo through GH/BitBucket APIs, but the `hub`...
Equivalent to `git log --branches --not --remotes`. - [x] warn about uncommitted changes - [ ] warn about unpushed commits
Currently the slug is indexed exactly two levels deep. That is the slug `foo/bar` is indexed as: - `foo/bar` - `bar` This 'tail matching' should extend to an arbitrary number...
If you are in a subdirectory of a git clone, `grit cd` should return you to the root of that clone.
Can use `Index.FindByDir()` method.
Sort on the host + slug (github.com/org/repo) rather than the actual directory name, so that repos from the same org but in different paths (ie, one in $GOPATH, one not)...