Commit 91124090 authored by Xueshan Feng's avatar Xueshan Feng
Browse files

Added how to restore a repository.

parent 7b2ef56f
......@@ -8,6 +8,7 @@
- [What is the default project visibility?](#project-visibility)
- [What is a GitLab group?](#GitLab-group)
- [Is GitLab intergated with Stanford workgroup?](#workgroup)
- [I accidently deleted my repostiory, how do I restore it?](#restore-repo)
- [Why my Stanford colleague got simpleSAMLphp 'Access forbidden' error when clicked 'sign in'?](#sign-in-error)
- [How do I migrate github project to GitLab?] **Help Wanted!**
......@@ -54,6 +55,17 @@ Gitlab group allows you group projects together into one namespace (directory),
Not yet. You can freely assemble your project team from members in different groups.
## <a name="restore-repo"></a>I accidently deleted my repostiory, how do I restore it?
You are asked to confirm the deletion; If you still delete it, you usually should be able to find a checked-out repo on your computer, and
can use it to re-create your repo; If you or your co-workers don't have a local copy, then file a HelpSU ticket, we can
help you to get it from DR backups. The backup file is a repoistory.bundle package (actually a tar file). To restore from a bundle:
```
$ mkdir ~/mygit-bundle
$ cd ~/mygit-bundle && tar xvf <path-to-bundle-file>
$ git clone ~/mygit-bundle <path-to-new-repo>
```
## <a name="sign-in-error"></a>Why my Stanford colleague got simpleSAMLphp 'Access forbidden' error when clicked 'sign in'?
Account sign up is intergated with Stanford SSO and is allowed for users in a controlled workgroup only. Users who are not in the workgroup gets Access Forbidden error.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment