inst/git_cheat_sheet.md

Cheat Sheet

Stage files with: git add file_name

Or to add all of the files that were changed: git add *

Commit staged files with: git commit -m "Insert your commit message here"

Send local commits to remote repository: git push

Get changes from the remote repository: git pull

Change branch: git checkout example_branch

Create new branch: git checkout -b example_branch

Merge two branches: git merge target_branch current_branch



FilipePintoReis/KARS_project documentation built on July 11, 2022, 9:19 a.m.