1 / 8

1 GIT NOUN \’GIT\

1 GIT NOUN ’GIT.

rasul
Télécharger la présentation

1 GIT NOUN \’GIT\

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 1GIT 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. CONFIGURE gitconfig--global user.name “YOUR NAME” gitconfig --global user.email“YOUR EMAIL”

  4. 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] Change into the newly created directory for the local repo (cd [directory name])

  5. 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]

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

  7. 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

More Related