File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,18 @@ git config --local --unset user.email
6565
6666---
6767
68+ ## Init
69+
70+ Creating repositories is simple. It creates a ` .git ` directory.
71+ The current directory becomes the ** working directory**
72+
73+ ``` bash
74+ # # inside a directory that you want to track
75+ git init
76+ ```
77+
78+ ---
79+
6880## Status
6981
7082The ` status ` sub-command provides information about the state
Original file line number Diff line number Diff line change @@ -77,6 +77,16 @@ git clone https://github.com/user/repo.git
7777
7878---
7979
80+ By default git will clone into the current directory,
81+ creating a directory with the repository's name.
82+
83+ You can provide a different local path:
84+ ``` bash
85+ git clone https://path/to/repo /path/to/local/clone
86+ ```
87+
88+ ---
89+
8090## Adding a Remote
8191
8292You can add any number of additional remotes:
You can’t perform that action at this time.
0 commit comments