-
Notifications
You must be signed in to change notification settings - Fork 26
2.2 Using git on byrd
Naomi Henderson edited this page Apr 9, 2018
·
10 revisions
How to use git for tracking changes on your notebooks
(you can change your choices later)
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
cd ~/notebooks
git init
git add *.ipynb
git status
git commit -m "some initial msg"
git status
git add NewNotebook.ipynb # stage the new file
git status
git commit -m "added NewNotebook" # commit the new file
git status
git status
git commit -m "added a new cell to NewNotebook"
git status
- for a lighter git intro
- or maybe the pro Git book. For example, Undoing things
- A git cheat sheet