Git - Overview
Introduction
Git is becoming de-facto choice of source code control system for new generation of developers. Git is based on distributed repositories. It manages the content in terms of snapshots and knows how to apply/rollback the changes between one snapshot to another.
Most used commands
To track changes or stage changes
git add filename
To track or stage all files under dir1
git add dir1\
To commit all the changes
git commit -a
To push the changes to remote
git push origin master
References:
- https://www.ibm.com/developerworks/library/d-learn-workings-git/index.html
- https://stackoverflow.com/questions/2745076/what-are-the-differences-between-git-commit-and-git-push
- https://drive.google.com/file/d/1PuZDiljecX31pDipbXxyfv8P2jhDwQo6/view?usp=sharing
Comments
Post a Comment