Fixing image path bug

This commit is contained in:
vl4dd 2021-04-01 14:21:34 +02:00
parent 44e99058cc
commit 9e2f01a1cf
1 changed files with 14 additions and 13 deletions

View File

@ -1,23 +1,25 @@
# Git # Git
![GitHub Logo](/image.jpg) ![GitHub Logo](/vl4dd/Git/src/branch/master/image.jpg)
## Usefull links ## Usefull links
[Git Cheat Sheet](https://education.github.com/git-cheat-sheet-education.pdf) [Git Cheat Sheet](https://education.github.com/git-cheat-sheet-education.pdf)
## Git System ## Git System
![Git System](/Git_Guide.png) ![Git System](/vl4dd/Git/src/branch/master/Git_Guide.png)
![Remote Execution](/Remote_execution.png)
## Remote Execution
![Remote Execution](/vl4dd/Git/src/branch/master/Remote_execution.png)
## Basic commands ## Basic commands
### initialize an existing directory as a Git repository ### Initialize an existing directory as a Git repository
```bash ```bash
$ git init $ git init
Initialized empty Git repository in C:/Users/Admin/Documents/Git/.git/ 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 ```bash
$ git status $ git status
@ -32,11 +34,11 @@ Untracked files:
nothing added to commit but untracked files present (use "git add" to track) 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 ```bash
$ git add Readme.md image.jpg $ 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 ```bash
$ git commit -m "First Commit" $ git commit -m "First Commit"
[master (root-commit) 784ae2e] 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 Readme.md
create mode 100644 image.jpg 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 ```bash
$ git config --global user.name “[firstname lastname]” $ git config --global user.name “[firstname lastname]”
$ git config --global user.email “[valid-email]” $ git config --global user.email “[valid-email]”
``` ```
### show all commits in the current branchs history ### Show all commits in the current branchs history
```bash ```bash
$ git log $ git log
commit 784ae2e2d10720c23eb7cebdf8386ef2157fe628 (HEAD -> master) commit 784ae2e2d10720c23eb7cebdf8386ef2157fe628 (HEAD -> master)
@ -74,7 +77,7 @@ Date: Thu Apr 1 12:11:34 2021 +0200
``` ```
### History ### History
`bash ```bash
history history
1 git init 1 git init
2 git status 2 git status
@ -90,9 +93,7 @@ history
12 git add Readme.md 12 git add Readme.md
13 git commit -m "Second commit" 13 git commit -m "Second commit"
14 git log 14 git log
15 history ```
sudo
`
Checker le satus Checker le satus
> git status > git status