{cyan}{bold} HELPFUL THINGS{/bold}{/cyan} - Get stuck? Find an error? File and issue at: {bold}github.com/jlord/git-it{/bold} {cyan} GIT COMMANDS ------------{/cyan} {cyan}Configuration{/cyan} {bold}Configure your name{/bold} $ git config --global user.name "Your Name" {bold}Configure your username{/bold} $ git config --global user.username githubusername {bold}Configure your email{/bold} $ git config --global user.email youremail@example.com {cyan}Check in{/cyan} {bold}Check status of changes to a repository{/bold} $ git status {bold}View changes between commits{/bold} $ git diff {bold}Add a file's changes to be commited{/bold} $ git add {bold}To add all files' changes{/bold} $ git add . {bold}To commit (aka save) the changes you've added with a short message describing the changes{/bold} $ git commit -m "your commit message" {cyan}Remotes{/cyan} {bold}To push your changes to a remote{/bold} $ git push {bold}To pull in changes from remote{/bold} $ git pull {bold}To set a URL for a remote{/bold} $ git remote set-url {bold}Add a remote{/bold} $ git remote add {cyan}Branches{/cyan} {bold}Merge a branch into current branch{/bold} $ git merge {bold}Change the branch you're working on{/bold} $ git checkout {bold}Delete a local branch{/bold} $ git branch -d {bold}Delete a remote branch{/bold} $ git push --delete {cyan} BASH COMMANDS -------------{/cyan} {bold}Make a new folder (aka directory){/bold} $ mkdir {bold}Navigate into an existing folder (aka change directory){/bold} $ cd {bold}Back out of a folder/directory{/bold} $ cd .. {bold}Back out all the way to the root directory{/bold} $ cd {bold}List the items in a folder{/bold} $ ls {bold}Remove (delete) a file{/bold} $ rm {bold}Remove (delete) a folder{/bold} $ rm -rf