remove outdated comments (#742) · github/training-kit@cddb1ce · GitHub
Skip to content

Commit cddb1ce

Browse files
authored
remove outdated comments (#742)
1 parent e6348ff commit cddb1ce

9 files changed

Lines changed: 1 addition & 43 deletions

File tree

‎git-guides/git-add.md‎

Lines changed: 1 addition & 7 deletions

‎git-guides/git-clone.md‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
The `git clone` command is used to create a copy of a specific repository or branch within a repository.
44

5-
<!--* Spiderweb menu of related terms here.- What does this mean? -->
6-
75
Git is a distributed version control system. Maximize the advantages of a full repository on your own machine by cloning.
86

97
### What Does `git clone` Do?
@@ -55,7 +53,6 @@ To clone one specific branch, use:
5553
_Cloning only one branch does not add any benefits unless the repository is very large and contains binary files that slow down the performance of the repository. The recommended solution is to optimize the performance of the repository before relying on single branch cloning strategies._
5654

5755

58-
5956
### `git clone` With SSH
6057

6158
Depending on how you authenticate with the remote server, you may choose to clone using SSH.

‎git-guides/git-commit.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
`git commit` creates a commit, which is like a snapshot of your repository. These commits are snapshots of your entire repository at specific times. You should make new commits often, based around logical units of change. Over time, commits should tell a story of the history of your repository and how it came to be the way that it currently is. Commits include lots of metadata in addition to the contents and message, like the author, timestamp, and more.
44

5-
<!--- Link related terms here in some way – spiderweb navigation to help users easily answer the next logical question after searching “Git Commit”. Potentially link to roll up section.-->
6-
75
## How Git Commit Works
86

97
Commits are the building blocks of "save points" within Git's version control.

‎git-guides/git-init.md‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
## General Specifications
2-
3-
* **Title:** Git Init – GitHub Git Guide
4-
* **URL:** /git-guide/git-init/
5-
* **Meta Description:** The Git init command initializes a new git repository and is usually one of the first commands to run before using other Git commands.
6-
* **Focus Keyword:** git init (4,400)
7-
* **Secondary Keywords:**
8-
* what does git init do (140)
9-
* git init bare (480)
10-
* git init existing folder (110)
11-
* **Word Count:** 800+
12-
* The focus keyword should be in the page title, url, h1 and throughout body copy.
13-
* The secondary keywords are semantic variations of the focus keyword and are great to use in h2, h3 and other headings.
14-
* Written from a marketing perspective, should have an informal voice and not be exclusively technical.
15-
* Doesn’t need to exhaustively cover the technical intricacies of the specific git command – should be beginner friendly and include a lot of the “why” and a general overview of the “how”. Can link out to more in-depth technical resources where appropriate.
16-
171
# Git Init
182

193
```sh
@@ -22,8 +6,6 @@ git init
226

237
`git init` turns any directory into a Git repository.
248

25-
<!--* Spiderweb menu of related terms here. What does this mean?-->
26-
279
## What Does `git init` Do?
2810

2911
`git init` is one way to start a new project with Git. To start a repository, use either `git init` or `git clone` - not both.

‎git-guides/git-overview.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ Some of the most important and most used commands that you'll find there are:
113113
- `git log`: Browse and inspect the evolution of project files.
114114
- `git remote -v`: Show the associated remote repositories and their stored name, like `origin`.
115115

116-
<!-- Again, potentially include illustrations from individual command pages here or more general learning illustrations. -->
117-
118116
If you're looking for more GitHub specific technical guidance, check out [GitHub's help documentation](https://help.github.com/).
119117

120118
### Getting Started With GitHub

‎git-guides/git-pull.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
`git pull` updates your current local working branch, and all of the remote tracking branches. It's a good idea to run `git pull` regularly on the branches you are working on locally.
44

5-
<!--* Spiderweb menu of related terms here. What does this mean?-->
6-
75
Without `git pull`, (or the effect of it,) your local branch wouldn't have any of the updates that are present on the remote.
86

97
### What Does `git pull` Do?

‎git-guides/git-push.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
## General Specifications
2-
31
# Git Push
42

53
```sh

‎git-guides/git-status.md‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
## General Specifications
2-
31
# Git Status
42

53
```sh
@@ -8,8 +6,6 @@ git status
86

97
`git status` shows the current state of your Git working directory and staging area.
108

11-
<!--* Spiderweb menu of related terms here. What does this mean?-->
12-
139
## What Does `git status` Do?
1410

1511
When in doubt, run `git status`. This is _always_ a good idea. The `git status` command only outputs information, it won't modify commits or changes in your local repository.

‎git-guides/install-git.md‎

Lines changed: 0 additions & 3 deletions

0 commit comments

Comments
 (0)