From 965887e3e67ddd05b009485283b7edac3c23cffa Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Thu, 29 Oct 2015 00:47:40 -0400 Subject: clean up the git page --- (limited to 'site/git') diff --git a/site/git/index.php b/site/git/index.php index 4b32166..63c4c6c 100644 --- a/site/git/index.php +++ b/site/git/index.php @@ -59,38 +59,11 @@ Browse repository via web

-

-

- 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
- NOTE: you don't have to use your legal name. We don't care what name you use. -

-

-
- $ 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 -

-

General guidelines

+

General guidelines for submitting patches

this article. You can use an alias, or your company name (if you have a company), if you want. Also, read this article."); ?>

@@ -111,68 +84,95 @@
- -

- 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
- git commit)"); ?> -

-

-
- $ git commit --amend
-
- $ git commit -a --amend -

-

-
- $ git log -

-

-
- $ git config --global --add alias.lol "log --graph --decorate --pretty=oneline --abbrev-commit --all"
-
- $ git lol
- git log, but it's much better and shows branches, etc."); ?> -

-

+

- + 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
+ NOTE: you don't have to use your legal name. We don't care what name you use.

-

- -

- -

- -

- - $ git clone - "; ?> - +
+ $ 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

-

- - $ git clone - "; ?> - + 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
+ git commit)"); ?> +

+

+
+ $ git commit --amend
+
+ $ git commit -a --amend +

+

+
+ $ git log +

+

+
+ $ git config --global --add alias.lol "log --graph --decorate --pretty=oneline --abbrev-commit --all"
+
+ $ git lol
+ git log, but it's much better and shows branches, etc."); ?> +

+

+

+ +

+

+

+ +

+

+

-

+

+ +

+

+ + $ git clone + "; ?> + +

+ +

+

+ + $ git clone + "; ?> + +

+ +

-- cgit v0.9.1