This is the official repository of the LSU Language, Environment and NeuroDevelopment Lab directed by Dr. Julie M. Schneider (@juliagoolia28)
- Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install git via brew
brew install git
- Next you will need to Fork the current repo into your own repo
- In your own forked version, set up your local clone in local terminal (you only need to do this once for the entire 'Lend_lab' repo)
cd
into your local directory where you would like to save the lab repo.- Then type:
git clone https://github.com/yourname/LEND_lab.git
- Now you will have a local folder called LEND_lab on the computer.
- Then type:
cd ./LEND_lab
git remote add upstream https://github.com/juliagoolia28/LEND_lab.git
git remote set-url --push upstream Oops.no.push.to.upstream
git remote -v
In the output you will see:
origin https://github.com/yourname/LEND_lab.git (fetch)
origin https://github.com/yourname/LEND_lab.git (push)
upstream https://github.com/juliagoolia28/LEND_lab.git (fetch)
upstream Oops.no.push.to.upstream (push)
To connect Git to Github you have to provide authentication. It will ask for a username and then password, but no longer accepts these credentials. To create a PAT follow these instructions: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
When logging in, enter your username and PAT for the password.
In your git folder type:
echo .DS_Store >> ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
First be sure you are up to date with the main LEND Lab Github account:
git checkout main
git fetch upstream
git merge upstream/main
git push origin main
Now add whatever to your Git that you would like. To commit this to YOUR Github (see FAQ for ways to modify the below text):
git add new_files
git commit -m "WRITE MESSAGE HERE"
git push origin branch_name
To install Jupyter Notebook, following the documentation here: https://jupyter.org/install Note that if you have Python 3, this should be pip3
If Jupyter cannot be found, try using this code:
python3 -m notebook
Add all new files to your commit:
git add -A
Not sure which branch_name is correct? Find out which branch you are on:
git -branch