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
swc-bb
swc-pages
2019-11-26-Potsdam-Berlin-Python
Commits
fa77a5ac
Commit
fa77a5ac
authored
Jan 22, 2015
by
Greg Wilson
Browse files
Merge pull request #143 from gvwilson/tell-people-to-change-default-branch
Telling people to change the default branch before cloning
parents
5843bc4d
45c36fa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
fa77a5ac
...
...
@@ -53,12 +53,35 @@ template for creating websites for workshops.
When the process is done,
you can click "Continue to repository" to visit your newly-created repository.
**Note:**
some people have had intermittent errors during the import process,
possibly because of the network timing out.
If you experience a problem, please re-try;
if the problem persists,
please
[
get in touch
](
#getting-and-giving-help
)
.
> **Note:**
> some people have had intermittent errors during the import process,
> possibly because of the network timing out.
> If you experience a problem, please re-try;
> if the problem persists,
> please [get in touch](#getting-and-giving-help).
8.
You must now make
`gh-pages`
the default branch in your new repository.
(If you do not, anyone who clones the repository may get a message
"warning: remote HEAD refers to nonexistent ref, unable to checkout"
because Git is looking for a branch called
`master`
which doesn't exist.)
To do this:
1. Go to "Settings" in the controls on the right hand side:

2. Change the default branch to `gh-pages`:

This step is not strictly necessary, but if it is omitted, people
must remember to clone your repository using:
~~~
git clone -b gh-pages https://github.com/your_username/YYYY-MM-DD-site
~~~
where the `-b gh-pages` argument tells Git which branch you want to use.
## Customizing Your Website
...
...
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