Conveniently pull from remote Git repositories you use often.
If you work with projects which depend on multiple independent services, you probably have to update them all regularly and know that a little help can come handy!
Write the list of repositories you want to pull from in a file, one per line (e.g. example.txt
):
github.com/gonzalo-bulnes/dice
github.com/gonzalo-bulnes/gitsrc
gitsrc update example.txt # that's all!
Binaries for official releases may be downloaded from the releases page on GitHub.
If you want to compile it from source, try:
go get github.com/gonzalo-bulnes/gitsrc/...
For Unix/Linux users, you can install gitsrc
using the following command. You may want to change the version number in the command below from v0.1.0
to whichever version you want:
curl -sL -o /usr/local/bin/gitsrc \
https://github.com/gonzalo-bulnes/gitsrc/releases/download/v0.1.0/gitsrc-linux-amd64 \
&& chmod +x /usr/local/bin/gitsrc
Whether it is your first pull request or your 100th, the contributing guidelines are here to help you get started!
Please note that by participating in this project, you agree to abide by its code of conduct. That is true for pull requests, and also when participating in issues.
The tangerine emoji in the header was rendered from an SVG that belongs to Google and was published under the Apache License v2.0 as part of Noto Emoji.
gitsrc
Copyright (C) 2019 Gonzalo Bulnes Guilpain
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.