This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero 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 Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ header('Content-type: text/html; charset=utf-8'); ob_start(); include_once "../common/variables.php"; include_once "../common/functions.php"; ?> <?php echo gettext("Git repositories"); ?>

../docs/tasks.html. There is also a

../docs/maintain/index.html and ../docs/git/index.html."); ?>

This also contains the documentation:"); ?>
$ git clone

Documentation is in the other repository:"); ?>
$ git clone

git documentation describes how to use git. The following notes include simple tips for how to use git, but it is a good idea to get fully acquainted with git."); ?>


$ git config --global user.name "Your Name"
$ git config --global user.email your@emailaddress.com


$ git config --global core.editor nano
$ git config --global color.status auto
$ git config --global color.branch auto
$ git config --global color.interactive auto
$ git config --global color.diff auto


$ git status

https://www.gnu.org/licenses/license-list.html.

GNU Free Documentation License, because we do not want to endorse or support the Invariant clauses that this license allows. Changes submitted under this license will be rejected, even if it contains no Invariant sections."); ?>

git add path/to/file. You should also add any other files that are listed as modified in the git status. If there are deleted files in the git status, you can use git rm path/to/file. As long as you have added all the untracked files, it is generally easier to use:"); ?>
$ git commit -a -s
git commit -s)"); ?>
The -s parameter adds a sign-off-by to the commit message. This is highly recommended.


$ git commit -s --amend

$ git commit -a -s --amend


$ git log


$ git config --global --add alias.lol "log --graph --decorate --pretty=oneline --abbrev-commit --all"

$ git lol
git log, but on steroids."); ?>

$ git clone "; ?>

$ git clone "; ?>