Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 GIT NOUN \’GIT\ A DISTRIBUTED REVISION CONTROL AND SOURCE CODE MANAGEMENT (SCM) SYSTEM WITH AN EMPHASIS ON SPEED. INITIALLY DESIGNED AND DEVELOPED BY.

Similar presentations


Presentation on theme: "1 GIT NOUN \’GIT\ A DISTRIBUTED REVISION CONTROL AND SOURCE CODE MANAGEMENT (SCM) SYSTEM WITH AN EMPHASIS ON SPEED. INITIALLY DESIGNED AND DEVELOPED BY."— Presentation transcript:

1 1 GIT NOUN \’GIT\ A DISTRIBUTED REVISION CONTROL AND SOURCE CODE MANAGEMENT (SCM) SYSTEM WITH AN EMPHASIS ON SPEED. INITIALLY DESIGNED AND DEVELOPED BY LINUS TORVALDS FOR LINUX KERNEL DEVELOPMENT IN 2005. EVERY GIT WORKING DIRECTORY IS A FULL-FLEDGED REPOSITORY WITH COMPLETE HISTORY AND FULL VERSION TRACKING CAPABILITIES, NOT DEPENDENT ON NETWORK ACCESS OR A CENTRAL SERVER. GIT IS FREE SOFTWARE DISTRIBUTED UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE VERSION 2.

2 BASIC COMMANDS Clone Pull (or fetch & merge) Add Commit Push

3

4 CONFIGURE git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL”

5 CLONE Creates a local “clone” of the repository Must be done before pull git clone https://github.com/tcnj-wics/test.git [add name here to name it locally]https://github.com/tcnj-wics/test.git Change into the newly created directory for the local repo (cd [directory name])

6 ADD This will ensure that the file is added to the local version you will commit in the future Open a text editor Save a text file with a unique name (make sure it saves to the directory for your local repo) git add [file name.txt]

7 COMMIT Commits your file(s) or change(s) to the version in your local repo git commit –m “insert message”

8 PUSH “Push” the version in your local repo to the remote repository git push PULL Once you have a clone or local repo, you can “pull” the latest version from the remote repo git pull


Download ppt "1 GIT NOUN \’GIT\ A DISTRIBUTED REVISION CONTROL AND SOURCE CODE MANAGEMENT (SCM) SYSTEM WITH AN EMPHASIS ON SPEED. INITIALLY DESIGNED AND DEVELOPED BY."

Similar presentations


Ads by Google