mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-12-05 01:40:32 +00:00
Compare commits
8 commits
ba80482b59
...
98cfbeaf60
Author | SHA1 | Date | |
---|---|---|---|
|
98cfbeaf60 | ||
|
bec077c825 | ||
|
6c863ee65e | ||
|
e464885cd0 | ||
|
c6d7319272 | ||
|
dbf888fc6a | ||
|
635ec921b2 | ||
|
b20893652b |
1 changed files with 20 additions and 0 deletions
|
@ -4,6 +4,18 @@ The participants of the course will add a description to each of these Git subco
|
|||
|
||||
## git config
|
||||
|
||||
Configure user-specific information like name, email etc. An example for setting the email is
|
||||
|
||||
```bash
|
||||
git config --global user.email you@gotthis.com
|
||||
```
|
||||
|
||||
An example for setting the username would be
|
||||
|
||||
```bash
|
||||
git config --global user.name "Wonderful-Person"
|
||||
```
|
||||
|
||||
## git init
|
||||
|
||||
## git clone
|
||||
|
@ -30,6 +42,14 @@ if you want to stage all changes.
|
|||
|
||||
## git commit
|
||||
|
||||
This command is used to record the changes you've made to the repository as a new commit. A commit is a snapshot of the changes you've staged (using `git add`) and is accompanied by a commit message that describes the purpose of the changes you are committing.
|
||||
|
||||
Usage of `git commit`:
|
||||
|
||||
```bash
|
||||
git commit -m "Your commit message here"
|
||||
```
|
||||
|
||||
## git log
|
||||
|
||||
## git diff
|
||||
|
|
Loading…
Reference in a new issue