इंटरमीडिएट Git
George Boorman
Curriculum Manager, DataCamp


सब कुछ बैकअप रहता है
लोकेशन से बेपरवाह सहयोग

हमारे कंप्यूटर पर repo की कॉपीज़ = लोकल remotes
कॉपी बनाना = cloning
git clone path-to-project-repo
git clone /home/george/repo
git clone /home/george/repo new_repo
रिमोट repos आमतौर पर ऑनलाइन होस्टिंग सर्विस में रहते हैं
अगर आपका अकाउंट है:
git clone URL
git clone https://github.com/datacamp/project
जब आप किसी repo को clone करते हैं
Git नए repo की configuration में एक रिमोट tag स्टोर करता है
repo से जुड़े सभी remotes की सूची देखें
git remote
datacamp
git remote -v
datacamp https://github.com/datacamp/project (fetch)
datacamp https://github.com/datacamp/project (pull)
origin रख देता हैgit remote add name URL
george नाम का रिमोट बनाएँ git remote add george https://github.com/george_datacamp/repo
इंटरमीडिएट Git