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
Jérome Perrin
gitlab-ce
Commits
ed9a6bf9
Commit
ed9a6bf9
authored
Sep 22, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7758 from bbodenmiller/patch-1
cleanup empty repo page
parents
c31c8c55
dcc51b0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
app/views/projects/empty.html.haml
app/views/projects/empty.html.haml
+5
-5
No files found.
app/views/projects/empty.html.haml
View file @
ed9a6bf9
...
...
@@ -2,27 +2,27 @@
%div
.git-empty
%fieldset
%legend
Git global setup
:
%legend
Git global setup
%pre
.dark
:preserve
git config --global user.name "
#{
git_user_name
}
"
git config --global user.email "
#{
git_user_email
}
"
%fieldset
%legend
Create
R
epository
%legend
Create
a new r
epository
%pre
.dark
:preserve
mkdir
#{
@project
.
path
}
cd
#{
@project
.
path
}
git init
touch README
git add README
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 push -u origin master
%fieldset
%legend
Existing Git Repo?
%legend
Push an existing Git repository
%pre
.dark
:preserve
cd existing_git_repo
...
...
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