This commit is contained in:
kyodev 2017-06-24 14:51:48 +02:00
parent 0a3bb065a6
commit c84319bb63
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,7 @@
# Command line instructions
## Git global setup
```shell
git config --global user.name "kyodev"
git config --global user.email "kyodev@monMail.fr"
@ -10,16 +11,18 @@ git config --global format.pretty oneline
```
## Existing folder
```shell
cd kyopages
git init
git remote add origin git@framagit.org:kyodev/kyopages.git
git add .
git commit
git commit -m "Initial commit"
git push -u origin master
```
## Existing Git repository
```shell
cd kyopages
git remote add origin git@framagit.org:kyodev/kyopages.git
@ -28,6 +31,7 @@ git push -u origin --tags
```
## Create a new repository
```shell
git clone git@framagit.org:kyodev/kyopages.git
cd kyopages