A world without source control leads to scary stories around the campfire. We all know we should commit early and often, and we’ve been told that Git is the system of choice. Looking at tutorials can be intimidating, though, with terminal commands here and bash commands there. What does it all mean, and how can you use it as a developer, designer, architect or analyst? In this session, we will work through these obstacles to bolster your Git knowledge en route to earning your ‘Git More Done’ Camp Badge.
15. git bash
• shell running in cygwin
• cygwin = terminal
• terminal = program that runs a shell
• shell = program that runs commands
• console = type of terminal
21. basic bash commands
ls list files in current directory
cd change current directory
touch create a new blank file
rm remove a file
mv “move” - rename file
mkdir create a new directory
rmdir remove a directory
rm -rf remove directory and contents
more show the contents of a file
45. branches
• branching is EXTREMELY cheap in git
• performant
• easy (straight-forward)
• you will branch A LOT
• most branches will be local only
• branch life expectancy is very short