We have already seen git commands here, hence won't be repeating it.
# Link remote repo with you local repo.
git remote add alias <Your repo URL>
# Example - Note origin instead of alias
git remote add origin <Your repo URL>
- origin - default alias of clone repo
- master - many times this is the branch name we refer to.
git push alias <branch_name>
# Example:
git push origin master
Simple git push
will also do.
git pull origin master
git add .
git commit -am "Initial commit"
git push
git pull
git add . # If you added any files
git commit -am "<Your change message>" #-a for excluding staging area.m for message
git push
git status
- Community oriented
- Social networking (feeds, watch,follow)
- wiki, issue tracking
- T to enter into the search mode. Just start typing the names, and you will find your file.