Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tutorials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
saclab
pedagogic_tools
tutorials
Commits
cacaa078
Commit
cacaa078
authored
1 year ago
by
GATEAU Thibault
Browse files
Options
Downloads
Patches
Plain Diff
[doc] default readme page
parent
09bc97b9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
git/readme.md
+43
-0
43 additions, 0 deletions
git/readme.md
with
43 additions
and
0 deletions
git/readme.md
0 → 100644
+
43
−
0
View file @
cacaa078
## Command line instructions
You can also upload existing files from your computer using the instructions below.
Git global setup
```
git config --global user.name "Perfect Johnny"
git config --global user.email "johnny.perfect@isae.fr"
```
## Create a new repository (johnny-project)
```
git clone git@gitlab.isae-supaero.fr:saclab/dss/students/johnny-project.git
cd default-page
touch README.md
git add README.md
git commit -m "[doc] add README"
git push -u origin master
```
## Push an existing folder
```
cd existing_folder
git init
git remote add origin git@gitlab.isae-supaero.fr:saclab/dss/students/johnny-project.git
git add .
git commit -m "[doc] Initial commit"
git push -u origin master
```
## Push an existing Git repository
```
cd existing_repo
git remote rename origin old-origin
git remote add origin git@gitlab.isae-supaero.fr:saclab/dss/students/johnny-project.git
git push -u origin --all
git push -u origin --tags
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment