Git

Remote Push

git add .

git commit -m "bla bla bla "

git push -u origin master

Create a new branch:

git checkout -b feature_branch_name

Edit, add and commit your files.

Push your branch to the remote repository:

git push -u origin feature_branch_name

BRANCH DELETE

To remove a remote branch from the server:

git push origin --delete {the_remote_branch}

Delete Local Branch

To delete the local branch use one of the following:

$ git branch -d branch_name
$ git branch -D branch_name

how to add tag a git tag locally and remote

git push origin tag 7.x-1.0

how to delete a git tag locally and remote

delete local tag ‘12345’

git tag -d 12345

delete remote tag ‘12345’ (eg, GitHub version too)

git push origin :refs/tags/12345

alternative approach

git push –delete origin tagName
git tag -d tagName