git config --global user.email "[email protected]"
git branch -r
You can check them out as local branches with: git checkout -b LocalName origin/remotebranchname
#Git Initialize
git init
git clone /path/to/repository
git clone username@host:/path/to/repository
git add
git add *
git commit -m "Commit message"
git commit -a
git push origin master
git status
git remote add origin
git remote -v
git checkout -b
git checkout
git branch
git branch -d
git push origin
git push --all origin
git push origin :
git pull
git merge
git diff
git diff --base
git diff
git add
git tag 1.0.0
git log
git push --tags origin
git checkout --
git fetch origin
git reset --hard origin/master
git grep "foo()"
##Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:RajaSardar/.git
git push -u origin master
##Push an existing repository from the command line
git remote add origin [email protected]:RajaSardar/.git
git push -u origin master
git reset --hard origin/"branch_name"anguler port 4200 kill command
sudo kill $(sudo lsof -t -i:4200)