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
hosted_git_repos_-_gitea_on_sdf [2022/01/27 01:14] – [Next Steps fo Enlightemment] fix typo peteyboyhosted_git_repos_-_gitea_on_sdf [2024/03/04 18:19] (current) – [Introduction] tweak to show up on search, maybe? peteyboy
Line 3: Line 3:
 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]].
  
-This tutorial is pretty basic and doesn't cover what is in the [[scmgit-intro]].+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 | GIT SCM Introduction]].
  
 ====== Getting Started ====== ====== Getting Started ======
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
 +
 +==== Troubleshooting ====
 +
 +SSH and Gitea - note that Gitea's ssh port is ''2222'': [[access_sdf_gitea_using_ssh_keys|]]
 +
  
 ====== Next Steps to Enlightemment ====== ====== Next Steps to Enlightemment ======
hosted_git_repos_-_gitea_on_sdf.1643246072.txt.gz · Last modified: 2022/01/27 01:14 by peteyboy