LNCD

Table of Contents

  • LNCD Home
  • Administration
  • Notebooks
  • Journal Club Presentations
  • Publications
  • Current Projects
  • Completed Projects
  • Current Grants
  • Datasets by Project
  • Brain ROIs and Measures
  • ️Tools And Methods
  • Big Data
  • RA Homepage
  • Undergrad Resources
  • Recent Changes
  • Maintenance
  • Site Map
  • Random Page
LNCD
Admin » Git

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
tools:git [2025/09/18 14:23] – [Github setup] willtools:git [2026/06/17 14:17] (current) – [Git] will
Line 4: Line 4:
 Alternative SCM tools include ''[[https://fossil-scm.org/|fossil]]'', ''[[https://www.mercurial-scm.org/|hg]]'', ''[[https://pijul.org/|pijul]]''. For version controlling (large binary/non-text neuroimaging) data, see [[https://handbook.datalad.org/|datalad]] or [[https://dvc.org/|dvc]] Alternative SCM tools include ''[[https://fossil-scm.org/|fossil]]'', ''[[https://www.mercurial-scm.org/|hg]]'', ''[[https://pijul.org/|pijul]]''. For version controlling (large binary/non-text neuroimaging) data, see [[https://handbook.datalad.org/|datalad]] or [[https://dvc.org/|dvc]]
  
-''git'' is not github. [[https://github.com|Github]] is a Microsoft-owned source forge adding a social network, identity services, and other features not included in the git system (issue tracking, patch/fork management). Other forges include [[https://gitlab.com|gitlab]], [[https://sr.ht/|sr.ht]], [[https://codeberg.org/|codeberg]].+''git'' is not github. [[https://github.com|Github]] is a Microsoft-owned source forge adding a social network, identity services, and other features not included in the git system (issue tracking, patch/fork management). Other forges include [[https://gitlab.com|gitlab]], [[https://sr.ht/|sr.ht]], [[https://codeberg.org/|codeberg]], [[https://radicle.dev/|radicle]].  
 + 
 +See [[:tools:github]] for integrating local repos with github remote.
  
  
Line 75: Line 77:
   * push ''/'' to start a search   * push ''/'' to start a search
   * push ''q'' to quit   * push ''q'' to quit
- 
-===== Github setup ===== 
-For ''git push'' to  github, you'll need some way to confirm your credentials. Authentication can happen with **ssh keys** or an **app password** 
- 
-==== Github https push ==== 
-To push to ''https'' (vs ssh like ''git@'') repos, you'll need to use a personal authentication token when prompted for a password. See [[https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens|github's documentation]] 
-  
-==== ssh push ==== 
-''git push'' can use ssh authentication. You need a key likely in ''~/.ssh/id_rsa.pub''.  
- 
- 
-Contents of ''~/.ssh/id_rsa.pub'' should be pasted into ''new ssh key'' modal on https://github.com/settings/keys ((''top right user icon''->''settings''->''ssh and GPG keys'' -> ''new ssh key'')) 
-{{:tools:pasted:20231024-130110.png}} 
- 
- 
-If ''~/.ssh/id_rsa.pub'' doesn't exist, ''ssh-keygen'' can make it (use empty password for convience. hit enter at password prompt to leave blank). See more [[https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent|documentaiton on github]] 
  
 ===== Advanced ===== ===== Advanced =====