View stunning SlideShares in full-screen with the new iOS app!Introducing SlideShare for AndroidExplore all your favorite topics in the SlideShare appGet the SlideShare app to Save for Later — even offline
View stunning SlideShares in full-screen with the new Android app!View stunning SlideShares in full-screen with the new iOS app!
Basic Commandscreating a repository● git initcloning a repository● git clone repo_url
Basic CommandsAdd a file● git add path/to/fileCommit a file● git commitor● git commit -m "commit message"
Difference between Svn commit andgit commit● Git commits are locals!● Local repositories are git repositories.● No Internet needed!● You dont need public access to the repository!● So, to a better version control...
Add a remote repository● git remote add repository_name url
Upload your code● git push repository_name branch_name
Updating your codegit pull repository_name branch_name
Git branchingEvery local repository is a branch.but branching is a good practice.● git branch branch_name● git checkout branch_name● git branch -D branch_name