Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ERASME
Plateforme Calque Back
Commits
3ae9e201
Commit
3ae9e201
authored
Apr 22, 2022
by
Romain MATIAS
Browse files
Update README.md
parents
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
0 → 100644
View file @
3ae9e201
## Command line instructions
You can also upload existing files from your computer using the instructions below.
## Git global setup
```
git config --global user.name "Romain MATIAS"
git config --global user.email "["ext.exodev.rmatias@grandlyon.com"]"
```
## Create a new repository
```
git clone https://forge.grandlyon.com/erasme/plateforme-calque-front.git
cd plateforme-calque-front
git switch -c main
touch README.md
git add README.md
git commit -m "add README"
git push -u origin main
```
## Push an existing folder
```
cd existing_folder
git init --initial-branch=main
git remote add origin https://forge.grandlyon.com/erasme/plateforme-calque-front.git
git add .
git commit -m "Initial commit"
git push -u origin main
```
## Push an existing Git repository
```
cd existing_repo
git remote rename origin old-origin
git remote add origin https://forge.grandlyon.com/erasme/plateforme-calque-front.git
git push -u origin --all
git push -u origin --tags
```
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment