Changes
Page history
Updated git (markdown)
authored
May 09, 2018
by
Jens Hahn
Hide whitespace changes
Inline
Side-by-side
git.md
View page @
50c4c019
...
...
@@ -3,7 +3,14 @@
*
install
[
**```git```**
](
https://git-scm.com/download/
)
*
set email adress:
```git config --global user.email "meep@meep.com"```
(has to be the email you used in
*github.com*
)
*
set name:
```git config --global user.name "meep meep"```
*
**clone**
the repo:
```git clone https://github.com/*your_name*/Python_course.git```
### **Clone a repo:**
*
**clone**
the repo:
```git clone https://github.com/*your_name*/Python_course.git```
### **Fork a repo:**
*
Go to
[
github.com
](
https://www.github.com/
)
to the
[
page
](
https://github.com/tbphu/Python_course
)
of the repo and press the fork button.
*
Then clone the repo from
**your**
github account
```git clone https://github.com/*your_name*/Python_course.git```
*
Go into your local repo
```cd Python_course```
*
set
**upstream**
:
```git remote add upstream https://github.com/tbphu/Python_course.git```
## Daily work with git
...
...
...
...