User Tools

Site Tools


hosted_git_repos_-_gitea_on_sdf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
hosted_git_repos_-_gitea_on_sdf [2020/07/13 15:50] perlfanhosted_git_repos_-_gitea_on_sdf [2022/02/10 07:37] – added more steps for new repo peteyboy
Line 2: Line 2:
  
 Gitea is a web-based git hosting service that like GitHub, Gitlab, or BitBucket. SDF provides its own installation located at [[https://git.sdf.org]]. Gitea is a web-based git hosting service that like GitHub, Gitlab, or BitBucket. SDF provides its own installation located at [[https://git.sdf.org]].
 +
 +For advanced users here is how to [[access SDF gitea using ssh keys]]
  
 This tutorial is pretty basic and doesn't cover what is in the [[scmgit-intro]]. This tutorial is pretty basic and doesn't cover what is in the [[scmgit-intro]].
Line 14: Line 16:
  
   - become a [[http://sdf.org/?join#meta|MetaARPA]] member   - become a [[http://sdf.org/?join#meta|MetaARPA]] member
-  - visit [[https://git.sdf.org]] +  - email membership to request an account 
-  - [[https://git.sdf.org/user/sign_up|register]] an account+  - wait for the welcome email with your randomly-generated Gitea password 
 +  - log in to [[http://git.sdf.org|git.sdf.org]] using the credentials provided in the welcome email
  
 ==== Create A New Repo ==== ==== Create A New Repo ====
  
-  * login with your new account +  * click the "+" in the upper left
-  * click the "+" in the uppler left+
   * choose //New Repository//   * choose //New Repository//
   * name the repo and provide additional data   * name the repo and provide additional data
   * decide if this is to be a private or public repo   * decide if this is to be a private or public repo
   * follow the instructions presented after the action chosen has been completed   * follow the instructions presented after the action chosen has been completed
 +  * on the gitea page for your new project, click the copy button on the other side of the text box that has the options [HTTP] and [SSH]. The text box has the clone address for your new project
 +  * back in SDF shell, find a place to keep your gitea projects, and in that folder enter:''git clone <URL>'' It will ask you to log in, then it will connect your local folder git with your repo. 
 +  * Put any files you make for the project in that folder, then:
 +    * add them with ''git add <file>''
 +    * commit those changes with ''git commit''
 +    * push those changes up to your repo with ''git push''
 +    * continue!
  
 ==== Migrate An Existing Repo ==== ==== Migrate An Existing Repo ====
Line 30: Line 39:
 (//e.g., one currently living on GitHub//) (//e.g., one currently living on GitHub//)
  
-  * login with your new account +  * click the "+" in the upper left
-  * click the "+" in the uppler left+
   * choose //Migrate Repository//   * choose //Migrate Repository//
   * in the next screen, provide the repo URL (e.g., //GitHub//) to migrate over   * in the next screen, provide the repo URL (e.g., //GitHub//) to migrate over
   * follow the instructions presented after the action chosen has been completed   * follow the instructions presented after the action chosen has been completed
  
-====== Next Steps fo Enlightemment ======+ 
 +====== Next Steps to Enlightemment ======
  
   * [[scmgit-intro|learn git]]!   * [[scmgit-intro|learn git]]!
hosted_git_repos_-_gitea_on_sdf.txt · Last modified: 2024/03/04 18:19 by peteyboy