Fixing image path bug
This commit is contained in:
parent
44e99058cc
commit
9e2f01a1cf
27
Readme.md
27
Readme.md
|
@ -1,23 +1,25 @@
|
|||
# Git
|
||||
|
||||

|
||||

|
||||
|
||||
## Usefull links
|
||||
[Git Cheat Sheet](https://education.github.com/git-cheat-sheet-education.pdf)
|
||||
|
||||
|
||||
## Git System
|
||||

|
||||

|
||||

|
||||
|
||||
## Remote Execution
|
||||

|
||||
|
||||
## Basic commands
|
||||
|
||||
### initialize an existing directory as a Git repository
|
||||
### Initialize an existing directory as a Git repository
|
||||
```bash
|
||||
$ git init
|
||||
Initialized empty Git repository in C:/Users/Admin/Documents/Git/.git/
|
||||
```
|
||||
### show modified files in working directory, staged for your next commit
|
||||
### Show modified files in working directory, staged for your next commit
|
||||
|
||||
```bash
|
||||
$ git status
|
||||
|
@ -32,11 +34,11 @@ Untracked files:
|
|||
|
||||
nothing added to commit but untracked files present (use "git add" to track)
|
||||
```
|
||||
### add a file as it looks now to your next commit (stage)
|
||||
### Add a file as it looks now to your next commit (stage)
|
||||
```bash
|
||||
$ git add Readme.md image.jpg
|
||||
```
|
||||
### commit your staged content as a new commit snapshot
|
||||
### Commit your staged content as a new commit snapshot
|
||||
```bash
|
||||
$ git commit -m "First Commit"
|
||||
[master (root-commit) 784ae2e] First Commit
|
||||
|
@ -56,14 +58,15 @@ After doing this, you may fix the identity used for this commit with:
|
|||
create mode 100644 Readme.md
|
||||
create mode 100644 image.jpg
|
||||
```
|
||||
### set a name & email that is identifiable for credit when review version history
|
||||
|
||||
### Set a name & email that is identifiable for credit when review version history
|
||||
```bash
|
||||
$ git config --global user.name “[firstname lastname]”
|
||||
|
||||
$ git config --global user.email “[valid-email]”
|
||||
```
|
||||
|
||||
### show all commits in the current branch’s history
|
||||
### Show all commits in the current branch’s history
|
||||
```bash
|
||||
$ git log
|
||||
commit 784ae2e2d10720c23eb7cebdf8386ef2157fe628 (HEAD -> master)
|
||||
|
@ -74,7 +77,7 @@ Date: Thu Apr 1 12:11:34 2021 +0200
|
|||
|
||||
```
|
||||
### History
|
||||
`bash
|
||||
```bash
|
||||
history
|
||||
1 git init
|
||||
2 git status
|
||||
|
@ -90,9 +93,7 @@ history
|
|||
12 git add Readme.md
|
||||
13 git commit -m "Second commit"
|
||||
14 git log
|
||||
15 history
|
||||
sudo
|
||||
`
|
||||
```
|
||||
|
||||
Checker le satus
|
||||
> git status
|
||||
|
|
Loading…
Reference in New Issue