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/02/05 14:09] – [Migrate An Existing Repo] jquahhosted_git_repos_-_gitea_on_sdf [2024/03/04 18:19] (current) – [Introduction] tweak to show up on search, maybe? peteyboy
Line 5: Line 5:
 For advanced users here is how to [[access SDF gitea using ssh keys]] 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 | GIT SCM Introduction]].
  
 ====== Getting Started ====== ====== Getting Started ======
Line 27: Line 27:
   * 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 36: Line 43:
   * 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|]]
  
  
hosted_git_repos_-_gitea_on_sdf.1644070196.txt.gz · Last modified: 2022/02/05 14:09 by jquah