having pointers to a central repository (your project). • These pointers combined with any changes you make are called branches Project branches Branch commits Your project
repo), you get the entire projects history on your local machine • So if you're on the road and don't have access to your main repository, or don't even have access to the internet, you can still commit and merge with the main repo later
without having to ping the server • Your work will only be seen when you are ready • Not having to rely on a network is better for places with network issues like Pakistan
creates a pointer (branch) to the original project for a lighter memory profile. • Creating, merging, and destroying many branches throughout the day is common with git.
latest 'Full installer for official Git for Windows' • During installation you will be prompted to choose one of these three, choose the 1st one Git will convert LF to CRLF when checking out text files. When committing text files, CRLF will be converted to LF. For cross-platform projects, this is the recommended setting on Windows ("core.autocrif" is set to "true"). Git will not perform any conversion when checking out text files. When committing text files, CRLF will be converted to LF. For cross-platform project: this the recommended setting on Unix( 'core.autocrlf' is set to 'input'). Git will not perform any cnversions when checking out or commiting text files. Choosing this option is not recommended for cross-platform projects('core.autocrlf' is set to false') • Choose the 1st one! • Open a terminal and enter 'git –version' to make sure it's installed
any more after we set up everything on your machine – we'll be using a GUI called SmartGIt. enter these commands... $ git config --global user.name [your name] $ git config --global user.email [your email]
facilitates agile team development. • Github allows us to collaborate on projects without having to worry about version conflicts • Also, we can see every change to every file in our projects through a clean interface
using the same email you used for your global Git email. The free account option looks like this... • Send me your email at [email protected] so that we can give you access to our projects' repos
→ Set Up Git • Github will recognize whether you're on Windows, Mac, or Linux and give you the right page steps for setting up Github on Windows... • Check for SSH keys • Backup and remove existing SSH keys • Generate a new SSH key • Add your new key to Github
terminal run... ssh -T [email protected] • Please send me your Github email by the end of the day - you should get a notification on your Github page that we've added you to sdsol-tech. Tomorrow we'll go through SmartGit. Notifications