Git Basic and Collaborative Development¶
This section of the documentation is under development
Contents in this section will be updated to provide more details
Why Git?¶
How does it work?¶
Getting started¶
The git actions/functions can be performed through command line or GUI depending on your preference.
getting a copy of the repository¶
git clone
Basic git actions¶
stage(prepare to commit): git add
make a commit, take a snapshot(save your work,): git commit
How to collaborate¶
VIVA+ git workflow¶
Branch¶
Pull, push¶
Other useful git actions/commands¶
gitignore file¶
.gitignore
Git log¶
git log
git log --oneline --decorate --graph --all
Git reset¶
Reset head to a different commit
Copy files from another commit¶
git checkout checksum -- path/filename
checksum: The checksum of the commit you want to copy from
path/filename: File to be copied