Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
2006b908
Commit
2006b908
authored
Apr 20, 2015
by
Jeroen van Baarsen
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9100 from bbodenmiller/patch-3
improve new project options
parents
41f01dd3
47769bfd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
CHANGELOG
CHANGELOG
+1
-0
app/views/projects/empty.html.haml
app/views/projects/empty.html.haml
+5
-6
No files found.
CHANGELOG
View file @
2006b908
...
...
@@ -10,6 +10,7 @@ v 7.11.0 (unreleased)
-
-
-
- Improve new project command options (Ben Bodenmiller)
v 7.10.0 (unreleased)
- Ignore submodules that are defined in .gitmodules but are checked in as directories.
...
...
app/views/projects/empty.html.haml
View file @
2006b908
...
...
@@ -27,20 +27,19 @@
%legend
Create a new repository
%pre
.dark
:preserve
mkdir
#{
@project
.
path
}
git clone
#{
content_tag
(
:span
,
default_url_to_repo
,
class:
'clone'
)
}
cd
#{
@project
.
path
}
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin
#{
content_tag
(
:span
,
default_url_to_repo
,
class:
'clone'
)
}
git commit -m "add README"
git push -u origin master
%fieldset
%legend
Push an existing
Git repository
%legend
Existing folder or
Git repository
%pre
.dark
:preserve
cd existing_git_repo
cd existing_folder
git init
git remote add origin
#{
content_tag
(
:span
,
default_url_to_repo
,
class:
'clone'
)
}
git push -u origin master
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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