cornell-c2s2 / c2s2_ip

A general repository for all of C2S2's IP, including testing
1 stars 3 forks source link

Git Tutorial #22

Open jjm469 opened 1 year ago

jjm469 commented 1 year ago

Make a basic git tutorial for C2S2 members.

tomaschoi03 commented 1 year ago

This is a good tutorial I use ("Getting Started" page is helpful with examples): https://www.atlassian.com/git/tutorials

UnsignedByte commented 1 year ago

This already exists in conflucence under C2S2 Team Resources here, but is also not written and links to the ece4750 git tutorial. We should definitely flush this out, and cover

Currently this is also not exactly the most accessible (pretty clear considering most of us, me included, didn't know this existed until today), so we should definitely provide links to it.

We should discuss whether to leave this on confluence or make a digital specific one and put it maybe elsewhere?

jjm469 commented 1 year ago

Temporary tutorial

git add .

git branch RouterJJM

git branch

git checkout RouterJJM

git commit -m "Router"

git push origin RouterJJM

git pull origin master

*** Push to main or a branch git add . git commit -m "Notes on what changed" git push origin [branch]

***Pull Request git checkout -b "testbranch" git push -u origin testbranch (ON GITHUB): create new pull request